Asynchronous operations for Unity
UnityFx.Async introduces effective and portable asynchronous operations that can be used very much like
by Alexander Bogarsukov
★★★★★ star rating
Price History +
UnityFx.Async introduces effective and portable asynchronous operations that can be used very much like Tasks in .NET or Promises in JS. It supports async/await operators, continuations and synchronization context capturing) while maintaining Unity3d/net35 compatibility. It is a great foundation toolset for any Unity project.
Library is designed as a lightweight Unity3d-compatible Tasks alternative. Main design goals are:
- Minimum object size and number of allocations;- Extensibility. The library entities are designed to be easily extensible;
- Thread-safe. The library classes can be safely used from different threads (unless explicitly stated otherwise);
- Task-like interface and behaviour. In many cases library classes can be used much like corresponding TPL entities;
- Unity3d-specific features and compatibility. This includes possibility to yield operations in coroutines, net35-compilance, extensions of Unity asynchronous operations etc.
Useful links:
- Unity forums- Github repo
- Bug reports