Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/angular/angular
/ reject
Method
reject
packages/zone.js/lib/common/promise.ts:338–340 ·
view source on GitHub ↗
(error: U)
Source
from the content-addressed store, hash-verified
336
}
337
338
static reject<U>(error: U): Promise<U> {
339
return
resolvePromise(<ZoneAwarePromise<U>>
new
this(null as any), REJECTED, error);
340
}
341
342
static withResolvers<T>(): {
343
promise: Promise<T>;
Callers
15
executeScript
Method · 0.45
provider_spec.ts
File · 0.45
read
Method · 0.45
handleUnhandledRejection
Method · 0.45
checkForUpdate
Method · 0.45
activateUpdate
Method · 0.45
requestSubscription
Method · 0.45
unsubscribe
Method · 0.45
application_ref_spec.ts
File · 0.45
inject_async_spec.ts
File · 0.45
complete
Method · 0.45
abort
Function · 0.45
Calls
1
resolvePromise
Function · 0.85
Tested by
1
routeDataIntegrationSuite
Function · 0.36