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

Interface AsyncOptions

src/types.d.ts:29–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27}
28
29export interface AsyncOptions {
30 /** Recognised values: 'none', 'promise', 'thunk', 'result' */
31 returnValue?: string;
32 acceptsCallback?: boolean;
33 isIterable?: boolean;
34 maxConcurrency?: number;
35}
36
37interface AsyncReturnsPromise extends AsyncFunction {
38 <TResult>(fn: () => TResult): () => Promise<TResult>;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected