Skip to content

Latest commit

 

History

History
37 lines (20 loc) · 704 Bytes

File metadata and controls

37 lines (20 loc) · 704 Bytes

Gets the kind from the notification which denotes 'N' for OnNext, 'E' for OnError and 'C' for OnCompleted.

Returns

(String): The kind from the notification which denotes 'N' for OnNext, 'E' for OnError and 'C' for OnCompleted.

{% if book.isPdf %}

var notification = Rx.Notification.createOnCompleted();
console.log(notification.kind);

// => C

{% else %}

Example

{% endif %}

{% if book.isPdf %}

{% else %}

Location

  • rx.js

{% endif %}