add method

void add(
  1. BlocStreamAction<State> action
)

Add actions to be processed. Implements Sink

Implementation

void add(BlocStreamAction<State> action) {
  if (_isClosed) return;
  _actions.add(action);
  _maybeProcessNextAction();
}