MCPcopy
hub / github.com/yortus/asyncawait / then

Method then

src/types.d.ts:182–182  ·  view source on GitHub ↗
(onFulfilled?: (value: R) => U | Thenable<U>, onRejected?: (error: any) => U | Thenable<U>)

Source from the content-addressed store, hash-verified

180
181interface Promise<R> extends Thenable<R> {
182 then<U>(onFulfilled?: (value: R) => U | Thenable<U>, onRejected?: (error: any) => U | Thenable<U>): Promise<U>;
183 then<U>(onFulfilled?: (value: R) => U | Thenable<U>, onRejected?: (error: any) => void): Promise<U>;
184 catch<U>(onRejected?: (error: any) => U | Thenable<U>): Promise<U>;
185}

Callers 15

countFilesFunction · 0.65
largestFunction · 0.65
async.iterable.jsFile · 0.65
await.jsFile · 0.65
async.jsFile · 0.65
async.iterable.tsFile · 0.65
async.cps.tsFile · 0.65
async.cps.jsFile · 0.65
async.thunk.jsFile · 0.65
await.tsFile · 0.65
async.thunk.tsFile · 0.65
async.tsFile · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected