On this page
SchedulerLike
interface
stable
SCHEDULER INTERFACES
interface SchedulerLike extends TimestampProvider {
schedule<T>(work: (this: SchedulerAction<T>, state: T) => void, delay: number, state: T): Subscription
// inherited from index/TimestampProvider
now(): number
}
Class Implementations
Methods
schedule<T>(work: (this: SchedulerAction<T>, state?: T) => void, delay: number, state?: T): Subscription
Parameters
work |
(this: SchedulerAction<T>, state?: T) => void |
|
delay |
number |
|
state |
T |
Optional. Default is |
Returns
schedule<T>(work: (this: SchedulerAction<T>, state?: T) => void, delay?: number, state?: T): Subscription
Parameters
work |
(this: SchedulerAction<T>, state?: T) => void |
|
delay |
number |
Optional. Default is |
state |
T |
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/SchedulerLike