Skip to main content

poll

Function poll 

Source
pub async fn poll(
    handler: Arc<dyn ExtensionHandler>,
    request: PollRequest,
) -> Result<Reply, String>
Expand description

Bounded asynchronous poll using the existing command.invoke frame contract. No spawned task or manager lock is retained here: dropping this future drops both invocation and collector. The frontend owns cancellation/generation.