Properties
Protected _intervals
_intervals: {}
Protected _subscriptions
_subscriptions: {}
Type declaration
-
[name: string]: Subscription | (() => void)
Protected _timers
_timers: {}
Methods
Protected clearInterval
- clearInterval(name: string): void
Protected clearTimeout
- clearTimeout(name: string): void
Protected interval
- interval(name: string, fn: () => void, delay?: number): void
-
Parameters
-
name: string
-
fn: () => void
-
Default value delay: number = 300
Returns void
Protected subscription
- subscription(name: string, unsub: Subscription | (() => void)): void
-
Parameters
-
name: string
-
unsub: Subscription | (() => void)
Returns void
Protected timeout
- timeout(name: string, fn: () => void, delay?: number): void
-
Parameters
-
name: string
-
fn: () => void
-
Default value delay: number = 300
Returns void
Protected unsub
- unsub(name: string): void
Store for named intervals