Struct specs::AsyncDispatcher [−][src]
pub struct AsyncDispatcher<'a, R> { /* fields omitted */ }
Expand description
Like, Dispatcher
but works asynchronously.
Implementations
Sets up all the systems which means they are gonna add default values for the resources they need.
Dispatches the systems asynchronously. Does not execute thread local systems.
If you want to wait for the systems to finish,
call wait()
.
Waits for all the asynchronously dispatched systems to finish and executes thread local systems (if there are any).
Waits for all the asynchronously dispatched systems to finish without executing thread local systems.
See wait
for executing thread local systems.
Checks if any of the asynchronously dispatched systems are running.
👎 Deprecated since 0.8.0: renamed to world
renamed to world
Returns the World
.
This will wait for the asynchronous systems to finish.
Renamed to self.world()
.
Returns the World
.
This will wait for the asynchronous systems to finish.
👎 Deprecated since 0.8.0: renamed to world_mut
renamed to world_mut
Borrows the World
mutably.
This will wait for the asynchronous systems to finish.
Renamed to self.world_mut()
.
Auto Trait Implementations
impl<'a, R> !RefUnwindSafe for AsyncDispatcher<'a, R>
impl<'a, R> !Send for AsyncDispatcher<'a, R>
impl<'a, R> !Sync for AsyncDispatcher<'a, R>
impl<'a, R> Unpin for AsyncDispatcher<'a, R> where
R: Unpin,
impl<'a, R> !UnwindSafe for AsyncDispatcher<'a, R>