MCPcopy Create free account
hub / github.com/GoogleChrome/samples / callRuntimeCallbacks

Function callRuntimeCallbacks

sqlite-wasm-cos/sqlite3-node.mjs:549–554  ·  view source on GitHub ↗
(callbacks)

Source from the content-addressed store, hash-verified

547 }
548
549 var callRuntimeCallbacks = (callbacks) => {
550 while (callbacks.length > 0) {
551 // Pass the module as the first argument.
552 callbacks.shift()(Module);
553 }
554 };
555 var onPostRuns = [];
556 var addOnPostRun = (cb) => onPostRuns.push(cb);
557

Callers 2

preRunFunction · 0.70
postRunFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected