Struct shred::AsyncDispatcher [] [src]

pub struct AsyncDispatcher<C> { /* fields omitted */ }

Like, Dispatcher but works asynchronously.

Methods

impl<C> AsyncDispatcher<C> where
    C: Clone + Send + 'static, 
[src]

Dispatches the systems asynchronously.

If you want to wait for the systems to finish, call wait().

Waits for all the systems to finish and executes thread local systems (if there are any).

Returns the resources.

If wait() wasn't called before, this method will do that.