Module task
Expand description
Integrates async rust code with the engine.
This module contains:
- Implementations of
Future
forSignal
andTypedSignal
. - A way to
spawn
new async tasks by using the engine as the async runtime.
Structs§
- Fallible
Signal Future - A future that tries to resolve as soon as the provided Godot signal was emitted.
- Fallible
Signal Future Error - Error that might be returned by the
FallibleSignalFuture
. - Signal
Future - The panicking counter part to the
FallibleSignalFuture
. - Task
Handle - Handle for an active background task.
Traits§
- Dynamic
Send - Runtime-checked
Send
capability. - Into
Dynamic Send - Convert a value into a type that is
Send
at compile-time while the value might not be.
Functions§
- spawn
- Create a new async background task.