Skip to content

Commit

Permalink
Merge pull request #8 from loopystudios/Update-docs
Browse files Browse the repository at this point in the history
  • Loading branch information
simbleau authored Apr 5, 2024
2 parents 73ceec1 + 1fb9f53 commit 5b48888
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ async fn long_task() -> u32 {
fn my_system(mut task_executor: AsyncTaskRunner<u32>) {
match task_executor.poll() {
AsnycTaskStatus::Idle => {
task_executor.begin(long_task());
task_executor.start(long_task());
println!("Started new task!");
}
AsnycTaskStatus::Pending => {
Expand Down

0 comments on commit 5b48888

Please sign in to comment.