Skip to content

Latest commit

 

History

History
26 lines (14 loc) · 838 Bytes

File metadata and controls

26 lines (14 loc) · 838 Bytes

{% if book.isPdf %}

return

{% else %}

{% endif %}

Returns an observable sequence that contains a single element, using the specified scheduler to send out observer messages.

This is an alias for just.

Arguments

  1. value (Any): Single element in the resulting observable sequence.
  2. [scheduler=Rx.Scheduler.immediate] (Scheduler): Scheduler to send the single element on. If not specified, defaults to Scheduler.immediate.

Returns

(Observable): An observable sequence with the single element.

Example