Expand description
Async (task, thread, timer) helper functions
Structs§
- AzInstant
Ptr - Check
Thread Finished Callback - Create
Thread Callback - External
System Callbacks - Config that is necessary so that threading + animations can compile on no_std
- GetSystem
Time Callback - Instant
PtrClone Callback - Instant
PtrDestructor Callback - Library
Receive Thread MsgCallback - Library
Send Thread MsgCallback - System
Tick - System
Tick Diff - Represents a difference in ticks for systems that don’t support timing
- System
Time Diff - Thread
- Wrapper around Thread because Thread needs to be clone-able for Python
- Thread
Destructor Callback - Thread
Id - ID for uniquely identifying a timer
- Thread
Inner - A
Thread
is a seperate thread that is owned by the framework. - Thread
Receiver - Thread
Receiver Destructor Callback - Thread
Receiver Inner - Thread
Recv Callback - Thread
Send Callback - Thread
Sender - Thread
Sender Destructor Callback - Thread
Sender Inner - Thread
Write Back Msg - Timer
- A
Timer
is a function that is run on every frame. - TimerId
- ID for uniquely identifying a timer
Enums§
- Duration
- Instant
- Option
Duration - Option
Instant - Option
Thread Id - Option
Thread Receive Msg - Option
Thread Send Msg - Option
Timer Id - Terminate
Timer - Should a timer terminate or not - used to remove active timers
- Thread
Receive Msg - Thread
Send Msg - Message that can be sent from the main thread to the Thread using the ThreadId.
Functions§
Type Aliases§
- Check
Thread Finished Callback Type - Create
Thread Callback Type - Function that creates a new
Thread
object - GetSystem
Time Callback Type - Get the current system type, equivalent to
std::time::Instant::now()
, except it also works on systems that don’t have a clock (such as embedded timers) - Instant
PtrClone Callback Type - Instant
PtrDestructor Callback Type - Library
Receive Thread MsgCallback Type - Library
Send Thread MsgCallback Type - Thread
Destructor Callback Type - Thread
Receiver Destructor Callback Type - Thread
Recv Callback Type - Thread
Send Callback Type - Thread
Sender Destructor Callback Type