Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/angular/angular
/ then
Method
then
packages/upgrade/src/common/src/promise_util.ts:12–12 ·
view source on GitHub ↗
(callback: (value: T) => any)
Source
from the content-addressed store, hash-verified
10
11
export
interface
Thenable<T> {
12
then(callback: (value: T) => any): any;
13
}
14
15
export
function
isThenable<T>(obj: unknown): obj is Thenable<T> {
Callers
15
sampler_spec.ts
File · 0.65
runner_spec.ts
File · 0.65
web_driver_extension_spec.ts
File · 0.65
multi_reporter_spec.ts
File · 0.65
perflog_metric_spec.ts
File · 0.65
aggregate
Function · 0.65
multi_metric_spec.ts
File · 0.65
user_metric_spec.ts
File · 0.65
chrome_driver_extension_spec.ts
File · 0.65
ios_driver_extension_spec.ts
File · 0.65
loop
Method · 0.65
_iterate
Method · 0.65
Implementers
4
SyncPromise
packages/upgrade/src/common/src/promis
ZoneAwarePromise
packages/zone.js/lib/common/promise.ts
MyPromise
packages/zone.js/test/common/Promise.s
WrongPromise
packages/zone.js/test/common/zone.spec
Calls
no outgoing calls
Tested by
15
constructor
Method · 0.52
resolve
Method · 0.52
routerEventsIntegrationSuite
Function · 0.52
canActivate
Method · 0.52
guardsIntegrationSuite
Function · 0.52
canLoad
Method · 0.52
delayObservable
Function · 0.52
canMatch
Method · 0.52
guard1
Function · 0.52
guard3
Function · 0.52
guard4
Function · 0.52
then
Method · 0.52