Without this PR,
```js
let f = pyodide.globals.get("some_async_function");
setTimeout(f, 100);
```
doesn't work because `setTimeout` calls `f` which returns a coroutine which is left unscheduled and so the actual work in `f` is never executed. This is surprising to people, see for instance https://github.com/pyodide/pyodide/discussions/2229. This changes the behavior to automatically schedule all coroutines created from async functions called from Javascript so that async functions can be used as Javascript event handlers.
ENH Automatically schedule coroutines. Without this PR,
```js
let f = pyodide.globals.get("some_async_function");
setTimeout(f, 100);
```
doesn't work because `setTimeout` calls `f` which returns a coroutine which is left unscheduled and so the actual work in `f` is never executed. This is surprising to people, see for instance https://github.com/pyodide/pyodide/discussions/2229. This changes the behavior to automatically schedule all coroutines created from async functions called from Javascript so that async functions can be used as Javascript event handlers.
package:
  name: numcodecs
  version: 0.9.1
source:
  sha256: 35adbcc746b95e3ac92e949a161811f5aa2602b9eb1ef241b5ea6f09bb220997
  url: https://files.pythonhosted.org/packages/2c/b0/980143fa7467569fd81f0d00530c46dcf41ff790738261985dc10a26d4ec/numcodecs-0.9.1.tar.gz
  patches:
    - patches/fixblosc.patch
    - patches/fixsetup.patch
    - patches/fixzlib.patch
build:
  script: |
    rm numcodecs/blosc.c
    pip install -t $HOSTSITEPACKAGES cython
requirements:
  run:
    - numpy
    - msgpack
test:
  imports:
    - numcodecs

package:
  name: numcodecs
  version: 0.9.1
source:
  sha256: 35adbcc746b95e3ac92e949a161811f5aa2602b9eb1ef241b5ea6f09bb220997
  url: https://files.pythonhosted.org/packages/2c/b0/980143fa7467569fd81f0d00530c46dcf41ff790738261985dc10a26d4ec/numcodecs-0.9.1.tar.gz
  patches:
    - patches/fixblosc.patch
    - patches/fixsetup.patch
    - patches/fixzlib.patch
build:
  script: |
    rm numcodecs/blosc.c
    pip install -t $HOSTSITEPACKAGES cython
requirements:
  run:
    - numpy
    - msgpack
test:
  imports:
    - numcodecs
