OnData<TParsed> typedef

OnData<TParsed> = FutureOr<void> Function(QueryResult<TParsed>? result)

Side effect to register for execution when data is received

Implementation

typedef OnData<TParsed> = FutureOr<void> Function(QueryResult<TParsed>? result);