AsyncTask.with_timeout()
has been added back.
poll()
anditer_poll()
now return aResult<T, TaskError>
.std::time::Duration
has been replaced withweb_time::Duration
.into_parts()
has been replaced withbuild()
.
- Many types now implement
Debug
.
- Updated to bevy 0.15.
AsyncTaskStatus
was replaced withstd::task::Poll
. If you wish to check if a task runner or pool is idle, you can still do so with<AsyncTaskRunner>.is_idle()
/<AsyncTaskPool>.is_idle()
.- Replaced
TimeoutError
with a non-exhaustiveTaskError
for future proofing.
blocking_recv()
functions were removed. You should now usebevy::tasks::block_on(fut)
.AsyncTask.with_timeout()
until further rework is done to return this functionality. Please useAsyncTask::new_with_duration(Dur, F)
instead.
- Timeouts now work correctly on wasm32.
AsyncReceiver
now uses anAtomicWaker
to ensure the sender is never dropped before receiving.
- Updated to bevy 0.14
- Blocking example for web targets.
- READMDE re-uploaded to correct #10.
- Initial release. Crate was renamed to
bevy_async_task
frombevy-async-task
and republished.