Files
rss-nostr-lambda/node_modules/tstl/thread/Singleton.d.ts
T

12 lines
287 B
TypeScript

/**
* Singleton generator.
*
* @author Jeongho Nam - https://github.com/samchon
*/
export declare class Singleton<T, Args extends any[] = []> {
private readonly closure_;
private value_;
constructor(closure: (...args: Args) => T);
get(...args: Args): T;
}