@livekit/components-core
Version:
This package is a wrapper around the [livekit/client-sdk-js](https://github.com/livekit/client-sdk-js) package. It transforms the event based logic into simple to use observable state and component level APIs. This package is the core for all framework sp
10 lines • 373 B
TypeScript
export declare class Future<T, E extends Error> {
promise: Promise<T>;
resolve?: (arg: T) => void;
reject?: (e: E) => void;
onFinally?: () => void;
get isResolved(): boolean;
private _isResolved;
constructor(futureBase?: (resolve: (arg: T) => void, reject: (e: E) => void) => void, onFinally?: () => void);
}
//# sourceMappingURL=future.d.ts.map