# Class ControlledPromise<T>

#### Type Parameters

- T

#### Hierarchy

- Promise<T>
  - ControlledPromise

- Defined in src/utils/index.ts:1

##### Index

### Constructors

constructor

### Properties

isSettled
reject
resolve

## Constructors

### constructor

- new ControlledPromise<T>(
  executor: (
  resolve: (value: T) => void,
  reject: (reason?: any) => void,
  isSettled: () => boolean,
  ) => void,
  ): ControlledPromise<T>

  #### Type Parameters

  - T

  #### Parameters

  - executor: (
    resolve: (value: T) => void,
    reject: (reason?: any) => void,
    isSettled: () => boolean,
    ) => void

  #### Returns ControlledPromise<T>

  Overrides Promise<T>.constructor

  - Defined in src/utils/index.ts:7

## Properties

### `Readonly` isSettled

isSettled: () => boolean

- Defined in src/utils/index.ts:3

### reject

reject: (reason?: any) => void

- Defined in src/utils/index.ts:5

### resolve

resolve: (value: T) => void

- Defined in src/utils/index.ts:4