# 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)

- ReadOnlySelectorOptions<T>
  - ReadWriteSelectorOptions

- Defined in common/temp/node_modules/.pnpm/recoil@0.7.7_react-dom@18.3.1+react@18.3.1/node_modules/recoil/index.d.ts:205

#####
Index

### Properties

cachePolicy_UNSTABLE?
dangerouslyAllowMutability?
get
key
set

## Properties

### `Optional` cachePolicy_UNSTABLE

cachePolicy_UNSTABLE?: CachePolicyWithoutEquality

Inherited from ReadOnlySelectorOptions.cachePolicy_UNSTABLE

- Defined in common/temp/node_modules/.pnpm/recoil@0.7.7_react-dom@18.3.1+react@18.3.1/node_modules/recoil/index.d.ts:202

### `Optional` dangerouslyAllowMutability

dangerouslyAllowMutability?: boolean

Inherited from ReadOnlySelectorOptions.dangerouslyAllowMutability

- Defined in common/temp/node_modules/.pnpm/recoil@0.7.7_react-dom@18.3.1+react@18.3.1/node_modules/recoil/index.d.ts:201

### get

get: ((opts) => T | Promise<T> | RecoilValue<T> | Loadable<T> | WrappedValue<T>)

#### Type declaration

- - (opts): T | Promise<T> | RecoilValue<T> | Loadable<T> | WrappedValue<T>

  - #### Parameters

    - opts: {
      get: GetRecoilValue;
      getCallback: GetCallback;
      }

      - ##### get: GetRecoilValue

      - ##### getCallback: GetCallback

    #### Returns T | Promise<T> | RecoilValue<T> | Loadable<T> | WrappedValue<T>

Inherited from ReadOnlySelectorOptions.get

- Defined in common/temp/node_modules/.pnpm/recoil@0.7.7_react-dom@18.3.1+react@18.3.1/node_modules/recoil/index.d.ts:197

### key

key: string

Inherited from ReadOnlySelectorOptions.key

- Defined in common/temp/node_modules/.pnpm/recoil@0.7.7_react-dom@18.3.1+react@18.3.1/node_modules/recoil/index.d.ts:196

### set

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

#### Type declaration

- - (opts, newValue): void

  - #### Parameters

    - opts: {
      get: GetRecoilValue;
      reset: ResetRecoilState;
      set: SetRecoilState;
      }

      - ##### get: GetRecoilValue

      - ##### reset: ResetRecoilState

      - ##### set: SetRecoilState

    - newValue: DefaultValue | T

    #### Returns void

- Defined in common/temp/node_modules/.pnpm/recoil@0.7.7_react-dom@18.3.1+react@18.3.1/node_modules/recoil/index.d.ts:206