pub fn on_data_record<T, R>(reactor: R) -> OnDataRecord<R>
Expand description
Constructs a Reactor
that reacts to the data record T
.
This function is typically paired with a sequencing combinator like then
or and
to
construct a reactor for a particular type of data record.