Expand description
Event reactors and combinators.
This module provides APIs for constructing Reactor types that respond to state and data
events by configuring and sampling data with time matrices.
Structs§
- And
- AndChain
- A type that can convert a collection of
Reactors into an ordered chain ofAndcombinators. - Context
- Data
Event - Describes an arbitrary event with associated data of interest.
- Fail
- Filter
MapData Record - Inspect
- MapError
- MapResponse
- Or
- OrChain
- A type that can convert a collection of
Reactors into an ordered chain ofOrcombinators. - Respond
- Sample
Data Record - Builds a
Reactorthat samples a data record with aTimeMatrix. - Then
- Then
Chain - A type that can convert a collection of
Reactors into an ordered chain ofThencombinators. - With
State
Enums§
- Event
- An event that describes a change to the environment or the arrival of a data record.
- Suspend
Event - Describes entering and exiting a mode of suspended execution.
- System
Event - Describes a change to the environment that may require reconfiguration.
Traits§
- Into
Reactor - A type that can be converted into a
Reactor. - Reactor
- A type that reacts to timed
Events. - Reactor
Ext - Extension methods for
Reactortypes.
Functions§
- and
- Reacts with the given reactors in order until the first error.
- fail
- filter_
map_ data_ record - map_
data_ record - map_
state - on_
data_ record - Constructs a
Reactorthat reacts to the data recordT. - or
- Reacts with the given reactors in order until the first response.
- respond
- sample_
data_ record - Constructs a builder for a
Reactorthat samples a data record with aTimeMatrixusing the givenStatistic. - then
- Reacts with the given reactors in order (regardless of outputs).
- with_
state