Skip to main content

AsyncTask

Type Alias AsyncTask 

Source
pub type AsyncTask = Pin<Box<dyn Future<Output = ()> + Send + 'static>>;
Expand description

A boxed future handed to Plugin::spawn_async; drive it to completion to deliver the call’s reply.

Aliased Type§

pub struct AsyncTask { /* private fields */ }