# Interface Subscription

interface Subscription {
addNestedSub: ((listener) => VoidFunc);
getListeners: (() => {
clear(): void;
get(): Listener[];
notify(): void;
subscribe(callback): (() => void);
});
handleChangeWrapper: VoidFunc;
isSubscribed: (() => boolean);
notifyNestedSubs: VoidFunc;
onStateChange?: VoidFunc;
trySubscribe: VoidFunc;
tryUnsubscribe: VoidFunc;
}

- Defined in common/temp/node_modules/.pnpm/react-redux@8.1.3_91ee3f21853aee6f4038f22086c31182/node_modules/react-redux/es/utils/Subscription.d.ts:14

#####
Index

### Properties

addNestedSub
getListeners
handleChangeWrapper
isSubscribed
notifyNestedSubs
onStateChange?
trySubscribe
tryUnsubscribe

## Properties

### addNestedSub

addNestedSub: ((listener) => VoidFunc)

#### Type declaration

- - (listener): VoidFunc

  - #### Parameters

    - listener: VoidFunc

    #### Returns VoidFunc

- Defined in common/temp/node_modules/.pnpm/react-redux@8.1.3_91ee3f21853aee6f4038f22086c31182/node_modules/react-redux/es/utils/Subscription.d.ts:15

### getListeners

getListeners: (() => {
clear(): void;
get(): Listener[];
notify(): void;
subscribe(callback): (() => void);
})

#### Type declaration

- - (): {
    clear(): void;
    get(): Listener[];
    notify(): void;
    subscribe(callback): (() => void);
    }

  - #### Returns {
    clear(): void;
    get(): Listener[];
    notify(): void;
    subscribe(callback): (() => void);
    }

    - ##### clear:function

      - clear(): void

      - #### Returns void

        - Defined in common/temp/node_modules/.pnpm/react-redux@8.1.3_91ee3f21853aee6f4038f22086c31182/node_modules/react-redux/es/utils/Subscription.d.ts:8

    - ##### get:function

      - get(): Listener[]

      - #### Returns Listener[]

        - Defined in common/temp/node_modules/.pnpm/react-redux@8.1.3_91ee3f21853aee6f4038f22086c31182/node_modules/react-redux/es/utils/Subscription.d.ts:10

    - ##### notify:function

      - notify(): void

      - #### Returns void

        - Defined in common/temp/node_modules/.pnpm/react-redux@8.1.3_91ee3f21853aee6f4038f22086c31182/node_modules/react-redux/es/utils/Subscription.d.ts:9

    - ##### subscribe:function

      - subscribe(callback): (() => void)

      - #### Parameters

        - callback: (() => void)
          - - (): void

            - #### Returns void

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

        - - (): void

          - #### Returns void

        - Defined in common/temp/node_modules/.pnpm/react-redux@8.1.3_91ee3f21853aee6f4038f22086c31182/node_modules/react-redux/es/utils/Subscription.d.ts:11

- Defined in common/temp/node_modules/.pnpm/react-redux@8.1.3_91ee3f21853aee6f4038f22086c31182/node_modules/react-redux/es/utils/Subscription.d.ts:22

### handleChangeWrapper

handleChangeWrapper: VoidFunc

- Defined in common/temp/node_modules/.pnpm/react-redux@8.1.3_91ee3f21853aee6f4038f22086c31182/node_modules/react-redux/es/utils/Subscription.d.ts:17

### isSubscribed

isSubscribed: (() => boolean)

#### Type declaration

- - (): boolean

  - #### Returns boolean

- Defined in common/temp/node_modules/.pnpm/react-redux@8.1.3_91ee3f21853aee6f4038f22086c31182/node_modules/react-redux/es/utils/Subscription.d.ts:18

### notifyNestedSubs

notifyNestedSubs: VoidFunc

- Defined in common/temp/node_modules/.pnpm/react-redux@8.1.3_91ee3f21853aee6f4038f22086c31182/node_modules/react-redux/es/utils/Subscription.d.ts:16

### `Optional` onStateChange

onStateChange?: VoidFunc

- Defined in common/temp/node_modules/.pnpm/react-redux@8.1.3_91ee3f21853aee6f4038f22086c31182/node_modules/react-redux/es/utils/Subscription.d.ts:19

### trySubscribe

trySubscribe: VoidFunc

- Defined in common/temp/node_modules/.pnpm/react-redux@8.1.3_91ee3f21853aee6f4038f22086c31182/node_modules/react-redux/es/utils/Subscription.d.ts:20

### tryUnsubscribe

tryUnsubscribe: VoidFunc

- Defined in common/temp/node_modules/.pnpm/react-redux@8.1.3_91ee3f21853aee6f4038f22086c31182/node_modules/react-redux/es/utils/Subscription.d.ts:21