mirror of https://github.com/pyodide/pyodide.git
parent
cabf75516b
commit
42d33407ca
|
@ -81,7 +81,7 @@ We compose `TsAnalyzer` into `PyodideAnalyzer`. This prunes out private
|
|||
functions, marks functions as `async` so we can display `async` in front of
|
||||
them, and organizes functions into our three categories:
|
||||
|
||||
- `globalThis`: globaly exposed functions
|
||||
- `globalThis`: globally exposed functions
|
||||
- `pyodide`: pyodide APIs
|
||||
- `PyProxy`: `PyProxy` APIs
|
||||
|
||||
|
|
|
@ -67,7 +67,7 @@ self.addEventListener("message", (msg) => {
|
|||
The interrupt system above allows interruption of Python code and also of C code
|
||||
that opts to allow itself to be interrupted by periodically calling
|
||||
`PyErr_CheckSignals`. There is also a function {any}`pyodide.checkInterrupt` that
|
||||
allows JavasSript functions called from Python to check for an interrupt. As a
|
||||
allows JavaScript functions called from Python to check for an interrupt. As a
|
||||
simple example, we can implement an interruptible sleep function using
|
||||
`Atomics.wait`:
|
||||
|
||||
|
|
Loading…
Reference in New Issue