# Class MutableSnapshot

#### Hierarchy (view full)

- Snapshot
  - MutableSnapshot

- 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:87

#####
Index

### Constructors

constructor

### Properties

reset
set

### Methods

asyncMap
getID
getInfo_UNSTABLE
getLoadable
getNodes_UNSTABLE
getPromise
isRetained
map
retain

## Constructors

### constructor

- new MutableSnapshot(): MutableSnapshot

- #### Returns MutableSnapshot

  Inherited from Snapshot.constructor

## Properties

### reset

reset: ResetRecoilState

- 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:89

### set

set: SetRecoilState

- 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:88

## Methods

### asyncMap

- asyncMap(cb): Promise<Snapshot>

- #### Parameters

  - cb: ((mutableSnapshot) => Promise<void>)
    - - (mutableSnapshot): Promise<void>

      - #### Parameters

        - mutableSnapshot: MutableSnapshot

        #### Returns Promise<void>

  #### Returns Promise<Snapshot>

  Inherited from Snapshot.asyncMap

  - 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:82

### getID

- getID(): SnapshotID

- #### Returns SnapshotID

  Inherited from Snapshot.getID

  - 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:76

### getInfo_UNSTABLE

- getInfo_UNSTABLE<T>(recoilValue): RecoilStateInfo<T>

- #### Type Parameters

  - T

  #### Parameters

  - recoilValue: RecoilValue<T>

  #### Returns RecoilStateInfo<T>

  Inherited from Snapshot.getInfo_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:80

### getLoadable

- getLoadable<T>(recoilValue): Loadable<T>

- #### Type Parameters

  - T

  #### Parameters

  - recoilValue: RecoilValue<T>

  #### Returns Loadable<T>

  Inherited from Snapshot.getLoadable

  - 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:77

### getNodes_UNSTABLE

- getNodes_UNSTABLE(opts?): Iterable<RecoilValue<unknown>>

- #### Parameters

  - `Optional` opts: {
    isInitialized?: boolean;
    isModified?: boolean;
    }

    - ##### `Optional` isInitialized?: boolean

    - ##### `Optional` isModified?: boolean

  #### Returns Iterable<RecoilValue<unknown>>

  Inherited from Snapshot.getNodes_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:79

### getPromise

- getPromise<T>(recoilValue): Promise<T>

- #### Type Parameters

  - T

  #### Parameters

  - recoilValue: RecoilValue<T>

  #### Returns Promise<T>

  Inherited from Snapshot.getPromise

  - 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:78

### isRetained

- isRetained(): boolean

- #### Returns boolean

  Inherited from Snapshot.isRetained

  - 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:84

### map

- map(cb): Snapshot

- #### Parameters

  - cb: ((mutableSnapshot) => void)
    - - (mutableSnapshot): void

      - #### Parameters

        - mutableSnapshot: MutableSnapshot

        #### Returns void

  #### Returns Snapshot

  Inherited from Snapshot.map

  - 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:81

### retain

- retain(): (() => void)

- #### Returns (() => void)

  - - (): void

    - #### Returns void

  Inherited from Snapshot.retain

  - 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:83