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

Function fxAsyncGeneratorResolveAwait

xs/sources/xsGenerator.c:1625–1632  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1623}
1624
1625void fxAsyncGeneratorResolveAwait(txMachine* the)
1626{
1627 txSlot* slot = mxFunctionInstanceHome(mxFunction->value.reference);
1628 txSlot* generator = slot->value.home.object;
1629 the->scratch.kind = mxArgv(0)->kind;
1630 the->scratch.value = mxArgv(0)->value;
1631 fxAsyncGeneratorStep(the, generator, XS_NO_STATUS);
1632}
1633
1634void fxAsyncGeneratorResolveYield(txMachine* the)
1635{

Callers

nothing calls this directly

Calls 1

fxAsyncGeneratorStepFunction · 0.85

Tested by

no test coverage detected