qwc/projects/qwc/src/lib/pipes/time-pipe.service.ts
Time since pipe has to update it's output value at regular 1 minute intervals. Rather than each pipe running a separate time interval, TimePipeService service runs the 1 minute interval and emits a tick after every minute, which is then subscribed by the pipe instances to update their output values.
Properties |
Methods |
constructor()
|
| getTimeTick |
getTimeTick()
|
|
Get time tick
Returns :
any
BehaviorSubject |
| timeTick |
Default value : new BehaviorSubject<any>(null)
|