SchedulerAction
interface stable
interface SchedulerAction<T> extends Subscription {
schedule(state?: T, delay?: number): Subscription
// inherited from index/Subscription
static EMPTY: (() => {...})
constructor(initialTeardown?: () => void)
closed: false
unsubscribe(): void
add(teardown: TeardownLogic): void
remove(teardown: Subscription | Unsubscribable | (() => void)): void
} Methods
schedule(state?: T, delay?: number): Subscription
Parameters
| state | Optional. Default is Type: |
| delay | Optional. Default is Type: |
Returns
Subscription
© 2015–2021 Google, Inc., Netflix, Inc., Microsoft Corp. and contributors.
Code licensed under an Apache-2.0 License. Documentation licensed under CC BY 4.0.
https://rxjs.dev/api/index/interface/SchedulerAction