bevy/examples/async_tasks
Pixelstorm 503b861e3a
Allow using async_io::block_on in bevy_tasks (#9626)
# Objective

Fixes #9625

## Solution

Adds `async-io` as an optional dependency of `bevy_tasks`. When enabled,
this causes calls to `futures_lite::future::block_on` to be replaced
with calls to `async_io::block_on`.

---

## Changelog

- Added a new `async-io` feature to `bevy_tasks`. When enabled, this
causes `bevy_tasks` to use `async-io`'s implemention of `block_on`
instead of `futures-lite`'s implementation. You should enable this if
you use `async-io` in your application.
2023-09-25 19:59:50 +00:00
..
async_compute.rs Allow using async_io::block_on in bevy_tasks (#9626) 2023-09-25 19:59:50 +00:00
external_source_external_thread.rs Refactor EventReader::iter to read (#9631) 2023-08-30 14:20:03 +00:00