pub async fn async_run<Events, Engine>(
feed: &mut Events,
engine: &mut Engine,
) -> Engine::AuditExpand description
Asynchronous Engine runner that processes input Events.
Runs until shutdown, returning an audit detailing the reason for the shutdown
(eg/ Events FeedEnded, Command::Shutdown, etc.).
ยงArguments
Events-Streamof events for theEngineto process.Engine- Event processor that produces audit events as output.AuditTx- Channel for sending produced audit events.