Skip to main content

forward_tick

Function forward_tick 

Source
pub async fn forward_tick(
    broker: &AnyBroker,
    handle: &PluginPollerHandle,
    request: TickRequest,
) -> Result<TickReply, PluginPollerForwardError>
Expand description

Forward a tick request to the plugin via broker JSON-RPC. Caller owns the TickRequest construction so this fn can be a thin IO wrapper. Returns the parsed TickReply; conversion to TickAck is the runner’s concern.