Skip to content

Latest commit

 

History

History
65 lines (36 loc) · 1.58 KB

CHANGELOG.md

File metadata and controls

65 lines (36 loc) · 1.58 KB

Changelog

Unreleased

0.4.0

Added

  • AsyncTask.with_timeout() has been added back.

Changed

  • poll() and iter_poll() now return a Result<T, TaskError>.
  • std::time::Duration has been replaced with web_time::Duration.
  • into_parts() has been replaced with build().

0.3.0

Added

  • Many types now implement Debug.

Changed

  • Updated to bevy 0.15.
  • AsyncTaskStatus was replaced with std::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-exhaustive TaskError for future proofing.

Removed

  • blocking_recv() functions were removed. You should now use bevy::tasks::block_on(fut).
  • AsyncTask.with_timeout() until further rework is done to return this functionality. Please use AsyncTask::new_with_duration(Dur, F) instead.

Fixed

  • Timeouts now work correctly on wasm32.
  • AsyncReceiver now uses an AtomicWaker to ensure the sender is never dropped before receiving.

0.2.0

Changed

  • Updated to bevy 0.14

Fixed

  • Blocking example for web targets.

0.1.1

Fixed

  • READMDE re-uploaded to correct #10.

0.1.0

  • Initial release. Crate was renamed to bevy_async_task from bevy-async-task and republished.