MCPcopy Index your code
hub / github.com/python/cpython / onReadable

Function onReadable

Platforms/emscripten/web_example_pyrepl_jspi/src.mjs:75–81  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

73};
74
75function onReadable() {
76 var handle;
77 var promise = new Promise((resolve) => {
78 handle = PTY.onReadable(() => resolve(waitResult.READY));
79 });
80 return [promise, handle];
81}
82
83function onSignal() {
84 // TODO: signal handling

Callers 1

waitForReadableFunction · 0.85

Calls 1

resolveFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…