Skip to content

Latest commit

 

History

History
25 lines (14 loc) · 898 Bytes

File metadata and controls

25 lines (14 loc) · 898 Bytes

{% if book.isPdf %}

start

{% else %}

{% endif %}

Invokes the specified function asynchronously on the specified scheduler, surfacing the result through an observable sequence.

Arguments

  1. func (Function): Function to run asynchronously.
  2. [scheduler=Rx.Scheduler.timeout] (Scheduler): Scheduler to run the function on. If not specified, defaults to Scheduler.timeout.
  3. [context] (Any): The context for the func parameter to be executed. If not specified, defaults to undefined.

Returns

(Observable): An observable sequence exposing the function's result value, or an exception.

Example