On this page
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 |
T |
Optional. Default is |
delay |
number |
Optional. Default is |
Returns
© 2015–2022 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