# Type alias AtomEffect<T>

AtomEffect<T>: ((param) => void | (() => void))

#### Type Parameters

- T

#### Type declaration

- - (param): void | (() => void)

  - #### Parameters

    - param: {
      getInfo_UNSTABLE: (<S>(recoilValue) => RecoilStateInfo<S>);
      getLoadable: (<S>(recoilValue) => Loadable<S>);
      getPromise: (<S>(recoilValue) => Promise<S>);
      node: RecoilState<T>;
      onSet: ((param) => void);
      parentStoreID_UNSTABLE?: StoreID;
      resetSelf: (() => void);
      setSelf: ((param) => void);
      storeID: StoreID;
      trigger: "set" | "get";
      }

      - ##### getInfo_UNSTABLE: (<S>(recoilValue) => RecoilStateInfo<S>)

        - - <S>(recoilValue): RecoilStateInfo<S>

          - #### Type Parameters

            - S

            #### Parameters

            - recoilValue: RecoilValue<S>

            #### Returns RecoilStateInfo<S>

      - ##### getLoadable: (<S>(recoilValue) => Loadable<S>)

        - - <S>(recoilValue): Loadable<S>

          - #### Type Parameters

            - S

            #### Parameters

            - recoilValue: RecoilValue<S>

            #### Returns Loadable<S>

      - ##### getPromise: (<S>(recoilValue) => Promise<S>)

        - - <S>(recoilValue): Promise<S>

          - #### Type Parameters

            - S

            #### Parameters

            - recoilValue: RecoilValue<S>

            #### Returns Promise<S>

      - ##### node: RecoilState<T>

      - ##### onSet: ((param) => void)

        - - (param): void

          - #### Parameters

            - param: ((newValue, oldValue, isReset) => void)
              - - (newValue, oldValue, isReset): void

                - #### Parameters

                  - newValue: T
                  - oldValue: T | DefaultValue
                  - isReset: boolean

                  #### Returns void

      - ##### `Optional` parentStoreID_UNSTABLE?: StoreID

      - ##### resetSelf: (() => void)

        - - (): void

          - #### Returns void

      - ##### setSelf: ((param) => void)

        - - (param): void

          - #### Parameters

            - param: T | DefaultValue | Promise<T | DefaultValue> | WrappedValue<T> | ((param) => T | DefaultValue | WrappedValue<T>)

            #### Returns void

      - ##### storeID: StoreID

      - ##### trigger: "set" | "get"

    #### Returns void | (() => 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:98