File

qwc/projects/qwc/src/lib/pipes/time-pipe.service.ts

Description

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.

Index

Properties
Methods

Constructor

constructor()

Methods

getTimeTick
getTimeTick()

Get time tick

Returns : any

BehaviorSubject

Properties

timeTick
Default value : new BehaviorSubject<any>(null)

result-matching ""

    No results matching ""