logo
pub trait AsyncActivityHost<R>: AsyncActivity<R> + Sized {
    fn init(
        runner: &mut R,
        store: &mut Store<Self::Context, StoreKey>,
        context: &mut Self::Context
    ) -> Result<Self, Self::Error>; }
Expand description

Define the initialization point of asynchronous application

Required Methods

Initialize the application with a given store.

The runner is passed so that specific initialization is possible.

Implementors