Interface ObserverStatic

Index

Methods

Methods

public create(onNext?: (value: T) => void, onError?: (exception: any) => void, onCompleted?: () => void): Observer

Parameters

  • onNext?: (value: T) => void optional
  • onError?: (exception: any) => void optional
  • onCompleted?: () => void optional

Returns

Observer

public fromNotifier(handler: (notification: Rx.Notification<T>) => void): Observer

Parameters

  • handler: (notification: Rx.Notification<T>) => void

Returns

Observer