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

Function fxAsyncDisposableStackReject

xs/sources/xsError.c:949–969  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

947}
948
949void fxAsyncDisposableStackReject(txMachine* the)
950{
951 txSlot* slot = mxFunctionInstanceHome(mxFunction->value.reference);
952 txSlot* instance = slot->value.home.object;
953 txSlot* property = instance->next;
954 txSlot* exception = property->next;
955
956 if (mxIsUndefined(exception)) {
957 mxPushSlot(mxArgv(0));
958 mxPullSlot(exception);
959 }
960 else {
961 mxPush(mxSuppressedErrorConstructor);
962 mxNew();
963 mxPushSlot(mxArgv(0));
964 mxPushSlot(exception);
965 mxRunCount(2);
966 mxPullSlot(exception);
967 }
968 fxAsyncDisposableStackResolve(the);
969}
970
971void fxAsyncDisposableStackResolve(txMachine* the)
972{

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected