MCPcopy Create free account
hub / github.com/sql-js/sql.js / preRun

Function preRun

js/sql-debug.js:1237–1246  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1235
1236
1237function preRun() {
1238 // compatibility - merge in anything from Module['preRun'] at this time
1239 if (Module['preRun']) {
1240 if (typeof Module['preRun'] == 'function') Module['preRun'] = [Module['preRun']];
1241 while (Module['preRun'].length) {
1242 addOnPreRun(Module['preRun'].shift());
1243 }
1244 }
1245 callRuntimeCallbacks(__ATPRERUN__);
1246}
1247
1248function ensureInitRuntime() {
1249 if (runtimeInitialized) return;

Callers 1

runFunction · 0.70

Calls 2

addOnPreRunFunction · 0.70
callRuntimeCallbacksFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…