rxjs / 7.5.5 / api / index / function / empty.html /

empty

function deprecated

Deprecation Notes

Replaced with the EMPTY constant or scheduled (e.g. scheduled([], scheduler)). Will be removed in v8.

empty(scheduler?: SchedulerLike)

Parameters

scheduler SchedulerLike

Optional. Default is undefined.

A SchedulerLike to use for scheduling the emission of the complete notification.

© 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/function/empty