Interface ReadWriteSelectorOptions<T>

interface ReadWriteSelectorOptions<T> {
    cachePolicy_UNSTABLE?: CachePolicyWithoutEquality;
    dangerouslyAllowMutability?: boolean;
    get: ((opts) => T | Promise<T> | RecoilValue<T> | Loadable<T> | WrappedValue<T>);
    key: string;
    set: ((opts, newValue) => void);
}

Type Parameters

  • T

Hierarchy (view full)

Properties

cachePolicy_UNSTABLE?: CachePolicyWithoutEquality
dangerouslyAllowMutability?: boolean
get: ((opts) => T | Promise<T> | RecoilValue<T> | Loadable<T> | WrappedValue<T>)

Type declaration

key: string
set: ((opts, newValue) => void)

Type declaration