Skip to main content

spawn_ephemeral_tick

Function spawn_ephemeral_tick 

Source
pub async fn spawn_ephemeral_tick(
    command: &str,
    plugin_id: &str,
    request: TickRequest,
    timeout: Duration,
    cancel: CancellationToken,
) -> Result<TickAck, PollerError>
Expand description

Spawn the binary, write the tick request to stdin, read one JSON line from stdout, await exit, classify the reply.