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

Function fxAsyncGeneratorRejectAwait

xs/sources/xsGenerator.c:1575–1582  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1573}
1574
1575void fxAsyncGeneratorRejectAwait(txMachine* the)
1576{
1577 txSlot* slot = mxFunctionInstanceHome(mxFunction->value.reference);
1578 txSlot* generator = slot->value.home.object;
1579 the->scratch.kind = mxArgv(0)->kind;
1580 the->scratch.value = mxArgv(0)->value;
1581 fxAsyncGeneratorStep(the, generator, XS_THROW_STATUS);
1582}
1583
1584void fxAsyncGeneratorRejectYield(txMachine* the)
1585{

Callers

nothing calls this directly

Calls 1

fxAsyncGeneratorStepFunction · 0.85

Tested by

no test coverage detected