realm
Version:
Realm by MongoDB is an offline-first mobile database: an alternative to SQLite and key-value stores
10 lines • 305 B
TypeScript
type ResolveType<T> = (value: T | PromiseLike<T>) => void;
type RejectType<T = unknown> = (reason?: T) => void;
export declare class PromiseHandle<T> {
resolve: ResolveType<T>;
reject: RejectType;
promise: Promise<T>;
constructor();
}
export {};
//# sourceMappingURL=PromiseHandle.d.ts.map