MCPcopy
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
11export interface Thenable<T> {
12 then(callback: (value: T) => any): any;
13}
14
15export function isThenable<T>(obj: unknown): obj is Thenable<T> {

Callers 15

sampler_spec.tsFile · 0.65
runner_spec.tsFile · 0.65
aggregateFunction · 0.65
loopMethod · 0.65
_iterateMethod · 0.65

Implementers 4

SyncPromisepackages/upgrade/src/common/src/promis
ZoneAwarePromisepackages/zone.js/lib/common/promise.ts
MyPromisepackages/zone.js/test/common/Promise.s
WrongPromisepackages/zone.js/test/common/zone.spec

Calls

no outgoing calls

Tested by 15

constructorMethod · 0.52
resolveMethod · 0.52
canActivateMethod · 0.52
guardsIntegrationSuiteFunction · 0.52
canLoadMethod · 0.52
delayObservableFunction · 0.52
canMatchMethod · 0.52
guard1Function · 0.52
guard3Function · 0.52
guard4Function · 0.52
thenMethod · 0.52