Uses of Class
org.htmlunit.javascript.host.abort.AbortSignal
Packages that use AbortSignal
Package
Description
Implementations of the various JavaScript host objects - users of HtmlUnit shouldn't
need anything in this package.
Implementations of the Fetch JavaScript host objects - users of HtmlUnit shouldn't
need anything in this package.
-
Uses of AbortSignal in org.htmlunit.javascript.host.abort
Methods in org.htmlunit.javascript.host.abort that return AbortSignalModifier and TypeMethodDescriptionstatic AbortSignalAbortSignal.any(org.htmlunit.corejs.javascript.Context cx, org.htmlunit.corejs.javascript.VarScope scope, org.htmlunit.corejs.javascript.Scriptable thisObj, Object[] args, org.htmlunit.corejs.javascript.Function funObj) Returns a signal that is aborted when any of the given signals is aborted.static AbortSignalAbortSignal.createDependentSignal(HtmlUnitScriptable owner, List<AbortSignal> signals) INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
Creates a signal that is aborted when any of the given signals is aborted (likeAbortSignal.any()); used e.g. for the signal of aRequest.AbortController.getSignal()Returns theAbortSignalassociated with this controller.static AbortSignalAbortSignal.jsAbort(org.htmlunit.corejs.javascript.Context cx, org.htmlunit.corejs.javascript.VarScope scope, org.htmlunit.corejs.javascript.Scriptable thisObj, Object[] args, org.htmlunit.corejs.javascript.Function funObj) Returns a signal that is already aborted.static AbortSignalAbortSignal.timeout(org.htmlunit.corejs.javascript.Context cx, org.htmlunit.corejs.javascript.VarScope scope, org.htmlunit.corejs.javascript.Scriptable thisObj, Object[] args, org.htmlunit.corejs.javascript.Function funObj) Returns a signal that is aborted with aTimeoutErrorafter the given time.Method parameters in org.htmlunit.javascript.host.abort with type arguments of type AbortSignalModifier and TypeMethodDescriptionstatic AbortSignalAbortSignal.createDependentSignal(HtmlUnitScriptable owner, List<AbortSignal> signals) INTERNAL API - SUBJECT TO CHANGE AT ANY TIME - USE AT YOUR OWN RISK.
Creates a signal that is aborted when any of the given signals is aborted (likeAbortSignal.any()); used e.g. for the signal of aRequest. -
Uses of AbortSignal in org.htmlunit.javascript.host.fetch
Methods in org.htmlunit.javascript.host.fetch that return AbortSignal