From 1fb9f53a2a01a7d87ce240779c8745df8d4d54c2 Mon Sep 17 00:00:00 2001 From: luke1188 <49883653+luke1188@users.noreply.github.com> Date: Thu, 4 Apr 2024 20:39:15 -0400 Subject: [PATCH] update example --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 501cae1..68949b4 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,7 @@ async fn long_task() -> u32 { fn my_system(mut task_executor: AsyncTaskRunner) { match task_executor.poll() { AsnycTaskStatus::Idle => { - task_executor.begin(long_task()); + task_executor.start(long_task()); println!("Started new task!"); } AsnycTaskStatus::Pending => {