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

Function fxRejectException

xs/sources/xsPromise.c:663–675  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

661}
662
663void fxRejectException(txMachine* the, txSlot* rejectFunction)
664{
665 /* THIS */
666 mxPushUndefined();
667 /* FUNCTION */
668 mxPushSlot(rejectFunction);
669 mxCall();
670 /* ARGUMENTS */
671 mxPush(mxException);
672 mxException = mxUndefined;
673 mxRunCount(1);
674 mxPop();
675}
676
677void fxRejectPromise(txMachine* the)
678{

Callers 12

fxRunImportFunction · 0.85
fxAsyncGeneratorStepFunction · 0.85
fxStepAsyncFunction · 0.85
fx_Array_fromAsyncFunction · 0.85
fxCombinePromisesFunction · 0.85
fxOnThenableFunction · 0.85
fx_PromiseFunction · 0.85
fx_Promise_tryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected