pub trait AsyncCallable: Send + Sync {
    fn call<'life0, 'async_trait>(
        &'life0 self,
        params: Vec<Primitive>
    ) -> Pin<Box<dyn Future<Output = Vec<Primitive>> + Send + 'async_trait>>
   where
        'life0: 'async_trait,
        Self: 'async_trait
; }
Expand description

An async function which can be called from the front-end (remotely)

Required Methods

Invoke the function

Implementors