create<T> function

Observable<T> create <T>(
  1. Callback1<Subscriber<T>> callback
)

Creates an Observable that uses the provided callback to emit elements to the provided Observer on each subscribe.

Implementation

Observable<T> create<T>(Callback1<Subscriber<T>> callback) =>
    CreateObservable<T>(callback);