MCPcopy Create free account
hub / github.com/Moddable-OpenSource/moddable / fxResolveAwait

Function fxResolveAwait

xs/sources/xsFunction.c:634–641  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

632}
633
634void fxResolveAwait(txMachine* the)
635{
636 txSlot* slot = mxFunctionInstanceHome(mxFunction->value.reference);
637 txSlot* instance = slot->value.home.object;
638 the->scratch.kind = mxArgv(0)->kind;
639 the->scratch.value = mxArgv(0)->value;
640 fxStepAsync(the, instance, XS_NO_STATUS);
641}
642
643void fxRejectAwait(txMachine* the)
644{

Callers

nothing calls this directly

Calls 1

fxStepAsyncFunction · 0.85

Tested by

no test coverage detected