kind

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.

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

// => C

Example

Last updated