MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / asyncIf

Function asyncIf

src/parseTools.mjs:1055–1057  ·  view source on GitHub ↗
(condition)

Source from the content-addressed store, hash-verified

1053}
1054
1055function asyncIf(condition) {
1056 return condition ? 'async ' : '';
1057}
1058
1059function awaitIf(condition) {
1060 return condition ? 'await ' : '';

Callers 3

runtime_pthread.jsFile · 0.85
postamble.jsFile · 0.85
preamble.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected