Interface AsyncHandlerRootNode
- All Known Implementing Classes:
ArrayFunctionBuiltins.JSArrayFromAsyncNode.ArrayFromAsyncArrayLikeResumptionRootNode,ArrayFunctionBuiltins.JSArrayFromAsyncNode.ArrayFromAsyncIteratorResumptionRootNode,ArrayFunctionBuiltins.JSArrayFromAsyncNode.ArrayFromAsyncResumptionRootNode,AsyncIteratorCloseNode.AsyncIteratorCloseRootNode,AsyncIteratorPrototypeBuiltins.AsyncIteratorAwaitNode.AbstractAsyncIteratorGeneratorResumptionRootNode,AsyncIteratorPrototypeBuiltins.AsyncIteratorAwaitNode.AsyncIteratorGeneratorAwaitResumptionRootNode,AsyncIteratorPrototypeBuiltins.AsyncIteratorAwaitNode.AsyncIteratorGeneratorAwaitResumptionWithCloseRootNode,AsyncIteratorPrototypeBuiltins.AsyncIteratorAwaitNode.AsyncIteratorGeneratorAwaitResumptionWithNextRootNode,AsyncIteratorPrototypeBuiltins.AsyncIteratorAwaitNode.AsyncIteratorGeneratorYieldResumptionRootNode,AsyncIteratorPrototypeBuiltins.AsyncIteratorAwaitNode.AsyncIteratorNonGeneratorResumptionRootNode,AsyncIteratorPrototypeBuiltins.AsyncIteratorAwaitNode.AsyncIteratorNonGeneratorResumptionWithCloseRootNode,AsyncIteratorPrototypeBuiltins.AsyncIteratorAwaitNode.AsyncIteratorRootNode,AsyncIteratorPrototypeBuiltins.AsyncIteratorDropNode.AsyncIteratorDropRootNode,AsyncIteratorPrototypeBuiltins.AsyncIteratorDropNode.AsyncIteratorDropWithValueLoopRootNode,AsyncIteratorPrototypeBuiltins.AsyncIteratorDropNode.AsyncIteratorDropWithValueRootNode,AsyncIteratorPrototypeBuiltins.AsyncIteratorEveryNode.AsyncIteratorEveryRootNode,AsyncIteratorPrototypeBuiltins.AsyncIteratorEveryNode.AsyncIteratorEveryWithResultRootNode,AsyncIteratorPrototypeBuiltins.AsyncIteratorFilterNode.AsyncIteratorFilterRootNode,AsyncIteratorPrototypeBuiltins.AsyncIteratorFilterNode.AsyncIteratorFilterWithResultRootNode,AsyncIteratorPrototypeBuiltins.AsyncIteratorFilterNode.AsyncIteratorFilterWithValueRootNode,AsyncIteratorPrototypeBuiltins.AsyncIteratorFindNode.AsyncIteratorFindRootNode,AsyncIteratorPrototypeBuiltins.AsyncIteratorFindNode.AsyncIteratorFindWithResultRootNode,AsyncIteratorPrototypeBuiltins.AsyncIteratorFlatMapNode.AsyncIteratorFlatMapInnerWithValueRootNode,AsyncIteratorPrototypeBuiltins.AsyncIteratorFlatMapNode.AsyncIteratorFlatMapRootNode,AsyncIteratorPrototypeBuiltins.AsyncIteratorFlatMapNode.AsyncIteratorFlatMapWithResultRootNode,AsyncIteratorPrototypeBuiltins.AsyncIteratorFlatMapNode.AsyncIteratorFlatMapWithValueRootNode,AsyncIteratorPrototypeBuiltins.AsyncIteratorFlatMapUnwrapYieldResumptionRootNode,AsyncIteratorPrototypeBuiltins.AsyncIteratorForEachNode.AsyncIteratorForEachRootNode,AsyncIteratorPrototypeBuiltins.AsyncIteratorForEachNode.AsyncIteratorForEachWithResultRootNode,AsyncIteratorPrototypeBuiltins.AsyncIteratorMapNode.AsyncIteratorMapRootNode,AsyncIteratorPrototypeBuiltins.AsyncIteratorMapNode.AsyncIteratorMapWithValueRootNode,AsyncIteratorPrototypeBuiltins.AsyncIteratorReduceNode.AsyncIteratorReduceInitialRootNode,AsyncIteratorPrototypeBuiltins.AsyncIteratorReduceNode.AsyncIteratorReduceRootNode,AsyncIteratorPrototypeBuiltins.AsyncIteratorReduceNode.AsyncIteratorReduceWithResultRootNode,AsyncIteratorPrototypeBuiltins.AsyncIteratorSomeNode.AsyncIteratorSomeRootNode,AsyncIteratorPrototypeBuiltins.AsyncIteratorSomeNode.AsyncIteratorSomeWithResultRootNode,AsyncIteratorPrototypeBuiltins.AsyncIteratorTakeNode.AsyncIteratorTakeRootNode,AsyncIteratorPrototypeBuiltins.AsyncIteratorTakeNode.AsyncIteratorTakeWithValueRootNode,AsyncIteratorPrototypeBuiltins.AsyncIteratorToArrayNode.AsyncIteratorToArrayRootNode,AsyncIteratorPrototypeBuiltins.AsyncIteratorUnwrapYieldResumptionRootNode,AsyncIteratorPrototypeBuiltins.AsyncIteratorYieldResultRootNode
public interface AsyncHandlerRootNode
Implemented by built-in promise handler functions that contribute to async stack traces.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptiongetAsyncStackTraceInfo(JSFunctionObject handlerFunction) Extract the stack trace element and the promise associated with this handler, both optional.getAsyncStackTraceInfo(JSFunctionObject handlerFunction, Object argument) Extract the stack trace element and the promise associated with this handler, both optional.
-
Method Details
-
getAsyncStackTraceInfo
default AsyncHandlerRootNode.AsyncStackTraceInfo getAsyncStackTraceInfo(JSFunctionObject handlerFunction) Extract the stack trace element and the promise associated with this handler, both optional.- Parameters:
handlerFunction- The handler callback function of the promise reaction.
-
getAsyncStackTraceInfo
default AsyncHandlerRootNode.AsyncStackTraceInfo getAsyncStackTraceInfo(JSFunctionObject handlerFunction, Object argument) Extract the stack trace element and the promise associated with this handler, both optional. This method is only called for a promise reaction job which is associated with an argument. Otherwise, the argument-less method is called instead.- Parameters:
handlerFunction- The handler callback function of this promise reaction job.argument- The argument the promise reaction handler was called with.
-