We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c8ca2e commit bd0b511Copy full SHA for bd0b511
README.md
@@ -22,14 +22,11 @@ sequenceDiagram
22
box Other Thread
23
participant async_function
24
end
25
-
26
main->>some_task: operator()
27
- someTask->>other_task: co_await
+ some_task->>other_task: co_await
28
other_task->>async_function: co_await
29
30
Note over other_task,async_function: The coroutine wait until completion<br/>and continues in the original thread
31
32
- async_function-->>other_task
33
- other_task-->some_task
34
- some_task-->main
35
-```
+ async_function-->>other_task:resume()
+ other_task-->>some_task:resume()
+ some_task-->>main:future.get()
+```
0 commit comments