Skip to content

Commit 3dacde1

Browse files
authored
Refactor CABI: kill OnBlock, reimplement via Thread/Store (#553)
1 parent 31ee1ae commit 3dacde1

File tree

5 files changed

+2040
-1952
lines changed

5 files changed

+2040
-1952
lines changed

design/mvp/Async.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -233,10 +233,9 @@ by Core WebAssembly code, it is meaningful for the built-in to work in terms
233233

234234
The "current task" is modelled in the Canonical ABI's Python code
235235
by implicitly threading the `Task` object created by [`canon_lift`] through all
236-
the `async def` Python functions transitively called by `canon_lift`. Thus,
237-
although there can be multiple live `Task` objects in a component instance,
238-
"the current one" is always clear: it's the one passed to the current function
239-
as a parameter.
236+
the Python functions transitively called by `canon_lift`. Thus, although there
237+
can be multiple live `Task` objects in a component instance, "the current one"
238+
is always clear: it's the one passed to the current function as a parameter.
240239

241240
### Context-Local Storage
242241

0 commit comments

Comments
 (0)