import { unwrap } from "https://dotland.deno.dev/x/jotai@v2.10.2/src/vanilla/utils/unwrap.ts";
Parameters
anAtom: WritableAtom<Value, Args, Result>
Returns
WritableAtom<Awaited<Value> | undefined, Args, Result>
Parameters
anAtom: WritableAtom<Value, Args, Result>
fallback: (prev?: Awaited<Value>) => PendingValue
Returns
WritableAtom<Awaited<Value> | PendingValue, Args, Result>
Parameters
fallback: (prev?: Awaited<Value>) => PendingValue
Returns
Atom<Awaited<Value> | PendingValue>