UNPKG

dt-app

Version:

The Dynatrace App Toolkit is a tool you can use from your command line to create, develop, and deploy apps on your Dynatrace environment.

4 lines (3 loc) 331 B
export declare const promiseStore: Map<string, Promise<unknown>>; /** Makes sure a promise is called just once if called again while already resolving. Currently used only in refresh token logic to not refresh on multiple api calls */ export declare function singlePromise<T>(promiseFn: () => Promise<T>, key: string): Promise<T>;