loom_core_router::swap_router_actor

Function router_task

Source
async fn router_task<DB: DatabaseRef + Send + Sync + Clone + 'static>(
    route_request: TxComposeData<DB>,
    compose_channel_tx: Broadcaster<MessageTxCompose<DB>>,
    signers: SharedState<TxSigners>,
    account_monitor: SharedState<AccountNonceAndBalanceState>,
) -> Result<()>
Expand description

encoder task performs encode for request