dijkstra-backend-cloudron/node_modules/tarn/lib/Resource.d.ts

10 lines
257 B
TypeScript

import { Deferred } from './utils';
export declare class Resource<T> {
resource: T;
readonly timestamp: number;
protected deferred: Deferred<void>;
constructor(resource: T);
readonly promise: Promise<void>;
resolve(): Resource<T>;
}