Bit<R, L>.stream constructor

Bit<R, L>.stream(
  1. BitStreamWorker<R, L> streamWorker, {
  2. dynamic onDispose()?,
})

Implementation

Bit.stream(BitStreamWorker<R, L> this.streamWorker, {Function()? onDispose})
    : worker = null,
      _onDispose = onDispose {
  reload();
}