CacheValue<T>: {
promise: Promise<unknown>;
status: "waiting";
} | {
status: "fulfilled";
value: T;
} | {
error: unknown;
status: "rejected";
}
Type declaration
promise: Promise<unknown>
status: "waiting"
Type declaration
status: "fulfilled"
value: T
Type declaration
error: unknown
status: "rejected"