Skip to content

Commit

Permalink
Merge branch 'main' into bevy-0.14
Browse files Browse the repository at this point in the history
  • Loading branch information
simbleau authored Jul 5, 2024
2 parents 1c90a50 + 84ba140 commit 2db5a3f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,11 @@ async fn long_task() -> u32 {

fn my_system(mut task_executor: AsyncTaskRunner<u32>) {
match task_executor.poll() {
AsnycTaskStatus::Idle => {
AsyncTaskStatus::Idle => {
task_executor.start(long_task());
info!("Started new task!");
}
AsnycTaskStatus::Pending => {
AsyncTaskStatus::Pending => {
// <Insert loading screen>
}
AsnycTaskStatus::Finished(v) => {
Expand Down

0 comments on commit 2db5a3f

Please sign in to comment.