UNPKG

jotai

Version:

👻 Primitive and flexible state management for React

4 lines (3 loc) • 298 B
import type { INTERNAL_Store as Store } from '../vanilla/internals.js'; export declare const isPromiseLike: (x: unknown) => x is PromiseLike<unknown>; export declare const createContinuablePromise: <T>(store: Store, promise: PromiseLike<T>, getValue: () => PromiseLike<T> | T) => Promise<unknown>;