MCPcopy Create free account
hub / github.com/angular/dev-infra / runLookup

Method runLookup

github-actions/browserstack/set-browserstack-env.js:11926–11991  ·  view source on GitHub ↗
(origin, opts, cb)

Source from the content-addressed store, hash-verified

11924 return dispatch(opts2, handler);
11925 }
11926 const redirectHandler = new RedirectHandler(
11927 dispatch,
11928 maxRedirections,
11929 opts2,
11930 handler
11931 );
11932 return dispatch(baseOpts, redirectHandler);
11933 };
11934 };
11935 };
11936 }
11937 });
11938
11939 //
11940 var require_retry = __commonJS({
11941 ""(exports, module) {
11942 "use strict";
11943 var RetryHandler = require_retry_handler();
11944 module.exports = (globalOpts) => {
11945 return (dispatch) => {
11946 return function retryInterceptor(opts, handler) {
11947 return dispatch(
11948 opts,
11949 new RetryHandler(
11950 __spreadProps(__spreadValues({}, opts), { retryOptions: __spreadValues(__spreadValues({}, globalOpts), opts.retryOptions) }),
11951 {
11952 handler,
11953 dispatch
11954 }
11955 )
11956 );
11957 };
11958 };
11959 };
11960 }
11961 });
11962
11963 //
11964 var require_dump = __commonJS({
11965 ""(exports, module) {
11966 "use strict";
11967 var util = require_util();
11968 var { InvalidArgumentError, RequestAbortedError } = require_errors();
11969 var DecoratorHandler = require_decorator_handler();
11970 var _maxSize, _abort, _dumped, _aborted, _size, _reason, _handler, _customAbort, customAbort_fn;
11971 var DumpHandler = class extends DecoratorHandler {
11972 constructor({ maxSize }, handler) {
11973 super(handler);
11974 __privateAdd(this, _customAbort);
11975 __privateAdd(this, _maxSize, 1024 * 1024);
11976 __privateAdd(this, _abort, null);
11977 __privateAdd(this, _dumped, false);
11978 __privateAdd(this, _aborted, false);
11979 __privateAdd(this, _size, 0);
11980 __privateAdd(this, _reason, null);
11981 __privateAdd(this, _handler, null);
11982 if (maxSize != null && (!Number.isFinite(maxSize) || maxSize < 1)) {
11983 throw new InvalidArgumentError("maxSize must be a number greater than 0");

Callers 2

onErrorMethod · 0.45
""Function · 0.45

Calls 7

__privateGetFunction · 0.70
__spreadPropsFunction · 0.70
__spreadValuesFunction · 0.70
getMethod · 0.45
lookupMethod · 0.45
setRecordsMethod · 0.45
deleteMethod · 0.45

Tested by

no test coverage detected