MCPcopy
hub / github.com/pyodide/pyodide / callPromising

Method callPromising

src/core/pyproxy.ts:2825–2827  ·  view source on GitHub ↗

* Call the function with stack switching enabled. The last argument must be * an object with the keyword arguments. Functions called this way can use * :py:meth:`~pyodide.ffi.run_sync` to block until an * :py:class:`~collections.abc.Awaitable` is resolved. Only works in runtimes * with J

(...jsargs: any)

Source from the content-addressed store, hash-verified

2823 * @experimental
2824 */
2825 callPromising(...jsargs: any) {
2826 return callPyObjectKwargsPromising(_getPtr(this), jsargs, {});
2827 }
2828
2829 /**
2830 * Call the function with stack switching enabled. The last argument must be

Callers

nothing calls this directly

Calls 2

_getPtrFunction · 0.85

Tested by

no test coverage detected