asStream<T> method

EventStream<T> asStream<T>(
  1. JSFunction callbackFactory(
    1. void (
      1. T
      )
    )
)

Implementation

EventStream<T> asStream<T>(
    JSFunction Function(void Function(T)) callbackFactory) {
  return EventStream<T>(this, callbackFactory);
}