W3cubDocs

/RxJS

scheduled

function stable

Converts from a common ObservableInput type to an observable where subscription and emissions are scheduled on the provided scheduler.

scheduled<T>(input: ObservableInput<T>, scheduler: SchedulerLike): Observable<T>

Parameters

input

The observable, array, promise, iterable, etc you would like to schedule

scheduler

The scheduler to use to schedule the subscription and emissions from the returned observable.

Returns

Observable<T>

See Also

  • from

  • of

© 2015–2018 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/function/scheduled