SamplerBuilder<T, S> typedef

Stream<S> SamplerBuilder (
  1. Stream<T> stream,
  2. OnDataTransform<T, S> bufferHandler,
  3. OnDataTransform<S, S> scheduleHandler
)

Higher order function signature which matches the method signature of buffer and window.

Implementation

typedef Stream<S> SamplerBuilder<T, S>(Stream<T> stream,
    OnDataTransform<T, S> bufferHandler, OnDataTransform<S, S> scheduleHandler);