ValuableGetStreamData<Output, Msg> typedef

ValuableGetStreamData<Output, Msg> = Output Function(ValuableContext? context, Msg data)

Method prototype for onData of the Stream

Implementation

typedef ValuableGetStreamData<Output, Msg> = Output Function(
  ValuableContext? context,
  Msg data,
);