Expand description
Provides a number of tasks that run continuously
Modules§
- task_
state - Provides trait to create task states from a
SystemContextHandle
Enums§
- Global
Event - event for global event stream
Traits§
- Event
Transformer State - Trait for intercepting and modifying messages between the network and consensus layers.
Functions§
- add_
consensus_ tasks - Adds consensus-related tasks to a
SystemContextHandle
. - add_
network_ event_ task - Add the network task to handle events and send messages.
- add_
network_ event_ tasks - Adds the
NetworkEventTaskState
tasks. - add_
network_ message_ and_ request_ receiver_ tasks - Adds the
NetworkMessageTaskState
tasks and the request / receiver tasks. - add_
network_ message_ task - Add the network task to handle messages and publish events.
- add_
network_ tasks - adds tasks for sending/receiving messages to/from the network.
- add_
queue_ len_ task - Add a task which updates our queue length metric at a set interval
- add_
request_ network_ task - Add tasks for network requests and responses
- add_
response_ task - Add a task which responds to requests on the network.
- create_
shutdown_ event_ monitor - Creates a monitor for shutdown events.