Skip to content

Latest commit

 

History

History
31 lines (15 loc) · 769 Bytes

subscribeoncompleted.md

File metadata and controls

31 lines (15 loc) · 769 Bytes

{% if book.isPdf %}

{% else %}

{% endif %}

Subscribes a function to invoke upon graceful termination of the observable sequence.

Arguments

  1. onCompleted (Function): Function to invoke upon graceful termination of the observable sequence.
  2. [thisArg] (Any): Object to use as this when executing callback.

Returns

(Disposable): The source sequence whose subscriptions and unsubscriptions happen on the specified scheduler.

Example

Using functions

With a thisArg