# EventApi

Canonical page: https://www.adaptabletools.com/docs/reference/eventapi

Subscribe to AdapTable events.

`on` registers a listener and returns a function that removes it. `off` removes a listener that was passed to `on` for the same event. The callback argument is the info object for that event.

```ts title="TypeScript"
export interface EventApi 
```

## Methods

| Method | Returns | Description |
| --- | --- | --- |
| [off(eventName, callback)](https://www.adaptabletools.com/docs/reference/eventapi.md#off) | `void` | Unsubscribe from GridSorted |
| [off(eventName, callback)](https://www.adaptabletools.com/docs/reference/eventapi.md#off) | `void` | Unsubscribe from RowSelectionChanged |
| [off(eventName, callback)](https://www.adaptabletools.com/docs/reference/eventapi.md#off) | `void` | Unsubscribe from ThemeSelected |
| [off(eventName, callback)](https://www.adaptabletools.com/docs/reference/eventapi.md#off) | `void` | Unsubscribe from SystemStatusMessageDisplayed |
| [off(eventName, callback)](https://www.adaptabletools.com/docs/reference/eventapi.md#off) | `void` | Unsubscribe from AlertFired |
| [off(eventName, callback)](https://www.adaptabletools.com/docs/reference/eventapi.md#off) | `void` | Unsubscribe from DataImported |
| [off(eventName, callback)](https://www.adaptabletools.com/docs/reference/eventapi.md#off) | `void` | Unsubscribe from FlashingCellDisplayed |
| [off(eventName, callback)](https://www.adaptabletools.com/docs/reference/eventapi.md#off) | `void` | Unsubscribe from LayoutChanged |
| [off(eventName, callback)](https://www.adaptabletools.com/docs/reference/eventapi.md#off) | `void` | Unsubscribe from CalculatedColumnChanged |
| [off(eventName, callback)](https://www.adaptabletools.com/docs/reference/eventapi.md#off) | `void` | Unsubscribe from CustomToolbarConfigured |
| [off(eventName, callback)](https://www.adaptabletools.com/docs/reference/eventapi.md#off) | `void` | Unsubscribe from GridFilterApplied |
| [off(eventName, callback)](https://www.adaptabletools.com/docs/reference/eventapi.md#off) | `void` | Unsubscribe from DashboardChanged |
| [off(eventName, callback)](https://www.adaptabletools.com/docs/reference/eventapi.md#off) | `void` | Unsubscribe from BeforeAdaptableStateChange |
| [off(eventName, callback)](https://www.adaptabletools.com/docs/reference/eventapi.md#off) | `void` | Unsubscribe from AdaptableStateChanged |
| [off(eventName, callback)](https://www.adaptabletools.com/docs/reference/eventapi.md#off) | `void` | Unsubscribe from AdaptableStateReloaded |
| [off(eventName, callback)](https://www.adaptabletools.com/docs/reference/eventapi.md#off) | `void` | Unsubscribe from LiveDataChanged |
| [off(eventName, callback)](https://www.adaptabletools.com/docs/reference/eventapi.md#off) | `void` | Unsubscribe from RowFormSubmitted |
| [off(eventName, callback)](https://www.adaptabletools.com/docs/reference/eventapi.md#off) | `void` | Unsubscribe from DataSetSelected |
| [off(eventName, callback)](https://www.adaptabletools.com/docs/reference/eventapi.md#off) | `void` | Unsubscribe from ChartChanged |
| [off(eventName, callback)](https://www.adaptabletools.com/docs/reference/eventapi.md#off) | `void` | Unsubscribe from CommentChanged |
| [off(eventName, callback)](https://www.adaptabletools.com/docs/reference/eventapi.md#off) | `void` | Unsubscribe from NoteChanged |
| [off(eventName, callback)](https://www.adaptabletools.com/docs/reference/eventapi.md#off) | `void` | Unsubscribe from ReportScheduleRan |
| [off(eventName, callback)](https://www.adaptabletools.com/docs/reference/eventapi.md#off) | `void` | Unsubscribe from AdaptableDestroy |
| [off(eventName, callback)](https://www.adaptabletools.com/docs/reference/eventapi.md#off) | `void` | Unsubscribe from AdaptableReady |
| [off(eventName, callback)](https://www.adaptabletools.com/docs/reference/eventapi.md#off) | `void` | Unsubscribe from Fdc3Message |
| [off(eventName, callback)](https://www.adaptabletools.com/docs/reference/eventapi.md#off) | `void` | Unsubscribe from ColumnFilterChanged |
| [off(eventName, callback)](https://www.adaptabletools.com/docs/reference/eventapi.md#off) | `void` | Unsubscribe from ColumnFilterApplied |
| [off(eventName, callback)](https://www.adaptabletools.com/docs/reference/eventapi.md#off) | `void` | Unsubscribe from CellChanged |
| [off(eventName, callback)](https://www.adaptabletools.com/docs/reference/eventapi.md#off) | `void` | Unsubscribe from RowChanged |
| [off(eventName, callback)](https://www.adaptabletools.com/docs/reference/eventapi.md#off) | `void` | Unsubscribe from TeamSharingEntityChanged |
| [off(eventName, callback)](https://www.adaptabletools.com/docs/reference/eventapi.md#off) | `void` | Unsubscribe from CellSelectionChanged |
| [on(eventName, callback)](https://www.adaptabletools.com/docs/reference/eventapi.md#on) | `VoidFunction` | Event fired whenever AdapTable is Sorted |
| [on(eventName, callback)](https://www.adaptabletools.com/docs/reference/eventapi.md#on) | `VoidFunction` | Event fired whenever the Row **Selection in AdapTable changes**. |
| [on(eventName, callback)](https://www.adaptabletools.com/docs/reference/eventapi.md#on) | `VoidFunction` | Event fired whenever a shipped theme (`light`, `dark`, or `os`) is selected or re-applied |
| [on(eventName, callback)](https://www.adaptabletools.com/docs/reference/eventapi.md#on) | `VoidFunction` | Event fired whenever a **System Status Message is displayed** in AdapTable |
| [on(eventName, callback)](https://www.adaptabletools.com/docs/reference/eventapi.md#on) | `VoidFunction` | Event fired whenever an **Alert is triggered** in AdapTable. |
| [on(eventName, callback)](https://www.adaptabletools.com/docs/reference/eventapi.md#on) | `VoidFunction` | Event fired when **Data has been imported** |
| [on(eventName, callback)](https://www.adaptabletools.com/docs/reference/eventapi.md#on) | `VoidFunction` | Event fired whenever **Cell Flashing** is triggered in AdapTable. |
| [on(eventName, callback)](https://www.adaptabletools.com/docs/reference/eventapi.md#on) | `VoidFunction` | Event fired whenever the current Layout updates in AdapTable |
| [on(eventName, callback)](https://www.adaptabletools.com/docs/reference/eventapi.md#on) | `VoidFunction` | Event fired whenever a Calculated Columns is created / updated / deleted in AdapTable |
| [on(eventName, callback)](https://www.adaptabletools.com/docs/reference/eventapi.md#on) | `VoidFunction` | Event fired whenever **Configure Button is clicked in a Custom Toolbar** |
| [on(eventName, callback)](https://www.adaptabletools.com/docs/reference/eventapi.md#on) | `VoidFunction` | Event fired whenever a Grid Filter is applied in AdapTable |
| [on(eventName, callback)](https://www.adaptabletools.com/docs/reference/eventapi.md#on) | `VoidFunction` | Event fired whenever **Dashboard State changes**<br/>Primarily used for rendering Custom toolbars. |
| [on(eventName, callback)](https://www.adaptabletools.com/docs/reference/eventapi.md#on) | `() => void` | Event fired **before** Adaptable State changes (before the action is processed) |
| [on(eventName, callback)](https://www.adaptabletools.com/docs/reference/eventapi.md#on) | `() => void` | Event fired whenever **Adaptable State changes** |
| [on(eventName, callback)](https://www.adaptabletools.com/docs/reference/eventapi.md#on) | `() => void` | Event fired whenever **Adaptable State is reloaded** |
| [on(eventName, callback)](https://www.adaptabletools.com/docs/reference/eventapi.md#on) | `() => void` | Event fired whenever **a change occurs relating to live reports / data**<br/>Used in conjunction with AdapTable&#39;s partners OpenFin or ipushpull |
| [on(eventName, callback)](https://www.adaptabletools.com/docs/reference/eventapi.md#on) | `() => void` | Event fired when a Row Form is submitted |
| [on(eventName, callback)](https://www.adaptabletools.com/docs/reference/eventapi.md#on) | `() => void` | Event fired when a DataSet is Selected |
| [on(eventName, callback)](https://www.adaptabletools.com/docs/reference/eventapi.md#on) | `() => void` | Event fired when a Chart is Changed |
| [on(eventName, callback)](https://www.adaptabletools.com/docs/reference/eventapi.md#on) | `() => void` | Event fired when a Comment is Changed |
| [on(eventName, callback)](https://www.adaptabletools.com/docs/reference/eventapi.md#on) | `VoidFunction` | Event fired whenever a Note is added, edited or deleted in AdapTable |
| [on(eventName, callback)](https://www.adaptabletools.com/docs/reference/eventapi.md#on) | `VoidFunction` | Event fired whenever a Schedule is triggered in AdapTable |
| [on(eventName, callback)](https://www.adaptabletools.com/docs/reference/eventapi.md#on) | `VoidFunction` | Fired when Adaptable is up and running - has no arguments. |
| [on(eventName, callback)](https://www.adaptabletools.com/docs/reference/eventapi.md#on) | `VoidFunction` | Fired when Adaptable is destroyed |
| [on(eventName, callback)](https://www.adaptabletools.com/docs/reference/eventapi.md#on) | `() => void` | Event fired when an FDC3 message is sent(Raise Intent or Broadcast Context) or received (Intent or Context) |
| [on(eventName, callback)](https://www.adaptabletools.com/docs/reference/eventapi.md#on) | `VoidFunction` | Event fired whenever a Column Filter changes in AdapTable — including<br/>incomplete editor drafts that are not yet applied. |
| [on(eventName, callback)](https://www.adaptabletools.com/docs/reference/eventapi.md#on) | `VoidFunction` | Event fired whenever a Column Filter is Applied in AdapTable (persisted;<br/>grid filtering may run). Prefer ColumnFilterChanged + `isApplied` for new code. |
| [on(eventName, callback)](https://www.adaptabletools.com/docs/reference/eventapi.md#on) | `VoidFunction` | Event fired whenever a cell changes in the Grid |
| [on(eventName, callback)](https://www.adaptabletools.com/docs/reference/eventapi.md#on) | `VoidFunction` | Event fired when a row is added, deleted or updated in the Grid |
| [on(eventName, callback)](https://www.adaptabletools.com/docs/reference/eventapi.md#on) | `VoidFunction` | Event fired whenever a Shared Entity in Team Sharing changes |
| [on(eventName, callback)](https://www.adaptabletools.com/docs/reference/eventapi.md#on) | `VoidFunction` | Event fired whenever the Cell **Selection in AdapTable changes**. |

## Method Details

### off

Unsubscribe from GridSorted

```ts title="TypeScript"
off(eventName: 'GridSorted', callback: (gridSortedInfo: GridSortedInfo) => void): void;
```

###### Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| eventName | `'GridSorted'` | GridSorted |
| callback | `(gridSortedInfo: `[`GridSortedInfo`](https://www.adaptabletools.com/docs/reference/gridsortedinfo.md)`) => void` | The listener that was passed to `on` |

###### Returns

`void`

### off

Unsubscribe from RowSelectionChanged

```ts title="TypeScript"
off(eventName: 'RowSelectionChanged', callback: (rowSelectionChangedInfo: RowSelectionChangedInfo) => void): void;
```

###### Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| eventName | `'RowSelectionChanged'` | RowSelectionChanged |
| callback | `(rowSelectionChangedInfo: `[`RowSelectionChangedInfo`](https://www.adaptabletools.com/docs/reference/rowselectionchangedinfo.md)`) => void` | The listener that was passed to `on` |

###### Returns

`void`

### off

Unsubscribe from ThemeSelected

```ts title="TypeScript"
off(eventName: 'ThemeSelected', callback: (themeSelectedInfo: ThemeSelectedInfo) => void): void;
```

###### Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| eventName | `'ThemeSelected'` | ThemeSelected |
| callback | `(themeSelectedInfo: `[`ThemeSelectedInfo`](https://www.adaptabletools.com/docs/reference/themeselectedinfo.md)`) => void` | The listener that was passed to `on` |

###### Returns

`void`

### off

Unsubscribe from SystemStatusMessageDisplayed

```ts title="TypeScript"
off(eventName: 'SystemStatusMessageDisplayed', callback: (SystemStatusMessageDisplayedInfo: SystemStatusMessageDisplayedInfo) => void): void;
```

###### Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| eventName | `'SystemStatusMessageDisplayed'` | SystemStatusMessageDisplayed |
| callback | `(SystemStatusMessageDisplayedInfo: `[`SystemStatusMessageDisplayedInfo`](https://www.adaptabletools.com/docs/reference/systemstatusmessagedisplayedinfo.md)`) => void` | The listener that was passed to `on` |

###### Returns

`void`

### off

Unsubscribe from AlertFired

```ts title="TypeScript"
off(eventName: 'AlertFired', callback: (alertFiredInfo: AlertFiredInfo) => void): void;
```

###### Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| eventName | `'AlertFired'` | AlertFired |
| callback | `(alertFiredInfo: `[`AlertFiredInfo`](https://www.adaptabletools.com/docs/reference/alertfiredinfo.md)`) => void` | The listener that was passed to `on` |

###### Returns

`void`

### off

Unsubscribe from DataImported

```ts title="TypeScript"
off(eventName: 'DataImported', callback: (dataImportedInfo: DataImportedInfo) => void): void;
```

###### Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| eventName | `'DataImported'` | DataImported |
| callback | `(dataImportedInfo: `[`DataImportedInfo`](https://www.adaptabletools.com/docs/reference/dataimportedinfo.md)`) => void` | The listener that was passed to `on` |

###### Returns

`void`

### off

Unsubscribe from FlashingCellDisplayed

```ts title="TypeScript"
off(eventName: 'FlashingCellDisplayed', callback: (flashingCellDisplayedInfo: FlashingCellDisplayedInfo) => void): void;
```

###### Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| eventName | `'FlashingCellDisplayed'` | FlashingCellDisplayed |
| callback | `(flashingCellDisplayedInfo: `[`FlashingCellDisplayedInfo`](https://www.adaptabletools.com/docs/reference/flashingcelldisplayedinfo.md)`) => void` | The listener that was passed to `on` |

###### Returns

`void`

### off

Unsubscribe from LayoutChanged

```ts title="TypeScript"
off(eventName: 'LayoutChanged', callback: (layoutChangedInfo: LayoutChangedInfo) => void): void;
```

###### Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| eventName | `'LayoutChanged'` | LayoutChanged |
| callback | `(layoutChangedInfo: `[`LayoutChangedInfo`](https://www.adaptabletools.com/docs/reference/layoutchangedinfo.md)`) => void` | The listener that was passed to `on` |

###### Returns

`void`

### off

Unsubscribe from CalculatedColumnChanged

```ts title="TypeScript"
off(eventName: 'CalculatedColumnChanged', callback: (calculatedColumnChangedInfo: CalculatedColumnChangedInfo) => void): void;
```

###### Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| eventName | `'CalculatedColumnChanged'` | CalculatedColumnChanged |
| callback | `(calculatedColumnChangedInfo: `[`CalculatedColumnChangedInfo`](https://www.adaptabletools.com/docs/reference/calculatedcolumnchangedinfo.md)`) => void` | The listener that was passed to `on` |

###### Returns

`void`

### off

Unsubscribe from CustomToolbarConfigured

```ts title="TypeScript"
off(eventName: 'CustomToolbarConfigured', callback: (customToolbarConfiguredInfo: CustomToolbarConfiguredInfo) => void): void;
```

###### Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| eventName | `'CustomToolbarConfigured'` | CustomToolbarConfigured |
| callback | `(customToolbarConfiguredInfo: `[`CustomToolbarConfiguredInfo`](https://www.adaptabletools.com/docs/reference/customtoolbarconfiguredinfo.md)`) => void` | The listener that was passed to `on` |

###### Returns

`void`

### off

Unsubscribe from GridFilterApplied

```ts title="TypeScript"
off(eventName: 'GridFilterApplied', callback: (gridFilterAppliedInfo: GridFilterAppliedInfo) => void): void;
```

###### Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| eventName | `'GridFilterApplied'` | GridFilterApplied |
| callback | `(gridFilterAppliedInfo: `[`GridFilterAppliedInfo`](https://www.adaptabletools.com/docs/reference/gridfilterappliedinfo.md)`) => void` | The listener that was passed to `on` |

###### Returns

`void`

### off

Unsubscribe from DashboardChanged

```ts title="TypeScript"
off(eventName: 'DashboardChanged', callback: (dashboardChangedInfo: DashboardChangedInfo) => void): void;
```

###### Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| eventName | `'DashboardChanged'` | DashboardChanged |
| callback | `(dashboardChangedInfo: `[`DashboardChangedInfo`](https://www.adaptabletools.com/docs/reference/dashboardchangedinfo.md)`) => void` | The listener that was passed to `on` |

###### Returns

`void`

### off

Unsubscribe from BeforeAdaptableStateChange

```ts title="TypeScript"
off(eventName: 'BeforeAdaptableStateChange', callback: (beforeAdaptableStateChangeInfo: BeforeAdaptableStateChangeInfo) => void): void;
```

###### Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| eventName | `'BeforeAdaptableStateChange'` | BeforeAdaptableStateChange |
| callback | `(beforeAdaptableStateChangeInfo: `[`BeforeAdaptableStateChangeInfo`](https://www.adaptabletools.com/docs/reference/beforeadaptablestatechangeinfo.md)`) => void` | The listener that was passed to `on` |

###### Returns

`void`

### off

Unsubscribe from AdaptableStateChanged

```ts title="TypeScript"
off(eventName: 'AdaptableStateChanged', callback: (adaptableStateChangedInfo: AdaptableStateChangedInfo) => void): void;
```

###### Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| eventName | `'AdaptableStateChanged'` | AdaptableStateChanged |
| callback | `(adaptableStateChangedInfo: `[`AdaptableStateChangedInfo`](https://www.adaptabletools.com/docs/reference/adaptablestatechangedinfo.md)`) => void` | The listener that was passed to `on` |

###### Returns

`void`

### off

Unsubscribe from AdaptableStateReloaded

```ts title="TypeScript"
off(eventName: 'AdaptableStateReloaded', callback: (adaptableStateReloadedInfo: AdaptableStateReloadedInfo) => void): void;
```

###### Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| eventName | `'AdaptableStateReloaded'` | AdaptableStateReloaded |
| callback | `(adaptableStateReloadedInfo: `[`AdaptableStateReloadedInfo`](https://www.adaptabletools.com/docs/reference/adaptablestatereloadedinfo.md)`) => void` | The listener that was passed to `on` |

###### Returns

`void`

### off

Unsubscribe from LiveDataChanged

```ts title="TypeScript"
off(eventName: 'LiveDataChanged', callback: (liveDataChangedInfo: LiveDataChangedInfo) => void): void;
```

###### Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| eventName | `'LiveDataChanged'` | LiveDataChanged |
| callback | `(liveDataChangedInfo: `[`LiveDataChangedInfo`](https://www.adaptabletools.com/docs/reference/livedatachangedinfo.md)`) => void` | The listener that was passed to `on` |

###### Returns

`void`

### off

Unsubscribe from RowFormSubmitted

```ts title="TypeScript"
off(eventName: 'RowFormSubmitted', callback: (rowFormSubmittedInfo: RowFormSubmittedInfo) => void): void;
```

###### Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| eventName | `'RowFormSubmitted'` | RowFormSubmitted |
| callback | `(rowFormSubmittedInfo: `[`RowFormSubmittedInfo`](https://www.adaptabletools.com/docs/reference/rowformsubmittedinfo.md)`) => void` | The listener that was passed to `on` |

###### Returns

`void`

### off

Unsubscribe from DataSetSelected

```ts title="TypeScript"
off(eventName: 'DataSetSelected', callback: (dataSetSelectedInfo: DataSetSelectedInfo) => void): void;
```

###### Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| eventName | `'DataSetSelected'` | DataSetSelected |
| callback | `(dataSetSelectedInfo: `[`DataSetSelectedInfo`](https://www.adaptabletools.com/docs/reference/datasetselectedinfo.md)`) => void` | The listener that was passed to `on` |

###### Returns

`void`

### off

Unsubscribe from ChartChanged

```ts title="TypeScript"
off(eventName: 'ChartChanged', callback: (chartChangedInfo: ChartChangedInfo) => void): void;
```

###### Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| eventName | `'ChartChanged'` | ChartChanged |
| callback | `(chartChangedInfo: `[`ChartChangedInfo`](https://www.adaptabletools.com/docs/reference/chartchangedinfo.md)`) => void` | The listener that was passed to `on` |

###### Returns

`void`

### off

Unsubscribe from CommentChanged

```ts title="TypeScript"
off(eventName: 'CommentChanged', callback: (commentChangedInfo: CommentChangedInfo) => void): void;
```

###### Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| eventName | `'CommentChanged'` | CommentChanged |
| callback | `(commentChangedInfo: `[`CommentChangedInfo`](https://www.adaptabletools.com/docs/reference/commentchangedinfo.md)`) => void` | The listener that was passed to `on` |

###### Returns

`void`

### off

Unsubscribe from NoteChanged

```ts title="TypeScript"
off(eventName: 'NoteChanged', callback: (noteChangedInfo: NoteChangedInfo) => void): void;
```

###### Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| eventName | `'NoteChanged'` | NoteChanged |
| callback | `(noteChangedInfo: `[`NoteChangedInfo`](https://www.adaptabletools.com/docs/reference/notechangedinfo.md)`) => void` | The listener that was passed to `on` |

###### Returns

`void`

### off

Unsubscribe from ReportScheduleRan

```ts title="TypeScript"
off(eventName: 'ReportScheduleRan', callback: (reportScheduleRanInfo: ReportScheduleRanInfo) => void): void;
```

###### Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| eventName | `'ReportScheduleRan'` | ReportScheduleRan |
| callback | `(reportScheduleRanInfo: `[`ReportScheduleRanInfo`](https://www.adaptabletools.com/docs/reference/reportscheduleraninfo.md)`) => void` | The listener that was passed to `on` |

###### Returns

`void`

### off

Unsubscribe from AdaptableDestroy

```ts title="TypeScript"
off(eventName: 'AdaptableDestroy', callback: () => void): void;
```

###### Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| eventName | `'AdaptableDestroy'` | AdaptableDestroy |
| callback | `() => void` | The listener that was passed to `on` |

###### Returns

`void`

### off

Unsubscribe from AdaptableReady

```ts title="TypeScript"
off(eventName: 'AdaptableReady', callback: (adaptableReadyInfo: AdaptableReadyInfo) => void): void;
```

###### Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| eventName | `'AdaptableReady'` | AdaptableReady |
| callback | `(adaptableReadyInfo: `[`AdaptableReadyInfo`](https://www.adaptabletools.com/docs/reference/adaptablereadyinfo.md)`) => void` | The listener that was passed to `on` |

###### Returns

`void`

### off

Unsubscribe from Fdc3Message

```ts title="TypeScript"
off(eventName: 'Fdc3Message', callback: (fdc3MessageInfo: Fdc3MessageInfo) => void): void;
```

###### Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| eventName | `'Fdc3Message'` | Fdc3Message |
| callback | `(fdc3MessageInfo: `[`Fdc3MessageInfo`](https://www.adaptabletools.com/docs/reference/fdc3messageinfo.md)`) => void` | The listener that was passed to `on` |

###### Returns

`void`

### off

Unsubscribe from ColumnFilterChanged

```ts title="TypeScript"
off(eventName: 'ColumnFilterChanged', callback: (columnFilterChangedInfo: ColumnFilterChangedInfo) => void): void;
```

###### Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| eventName | `'ColumnFilterChanged'` | ColumnFilterChanged |
| callback | `(columnFilterChangedInfo: `[`ColumnFilterChangedInfo`](https://www.adaptabletools.com/docs/reference/columnfilterchangedinfo.md)`) => void` | The listener that was passed to `on` |

###### Returns

`void`

### off

Unsubscribe from ColumnFilterApplied

```ts title="TypeScript"
off(eventName: 'ColumnFilterApplied', callback: (columnFilterAppliedInfo: ColumnFilterAppliedInfo) => void): void;
```

###### Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| eventName | `'ColumnFilterApplied'` | ColumnFilterApplied |
| callback | `(columnFilterAppliedInfo: `[`ColumnFilterAppliedInfo`](https://www.adaptabletools.com/docs/reference/columnfilterappliedinfo.md)`) => void` | The listener that was passed to `on` |

###### Returns

`void`

### off

Unsubscribe from CellChanged

```ts title="TypeScript"
off(eventName: 'CellChanged', callback: (cellChangedInfo: CellChangedInfo) => void): void;
```

###### Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| eventName | `'CellChanged'` | CellChanged |
| callback | `(cellChangedInfo: `[`CellChangedInfo`](https://www.adaptabletools.com/docs/reference/cellchangedinfo.md)`) => void` | The listener that was passed to `on` |

###### Returns

`void`

### off

Unsubscribe from RowChanged

```ts title="TypeScript"
off(eventName: 'RowChanged', callback: (rowChangedInfo: RowChangedInfo) => void): void;
```

###### Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| eventName | `'RowChanged'` | RowChanged |
| callback | `(rowChangedInfo: `[`RowChangedInfo`](https://www.adaptabletools.com/docs/reference/rowchangedinfo.md)`) => void` | The listener that was passed to `on` |

###### Returns

`void`

### off

Unsubscribe from TeamSharingEntityChanged

```ts title="TypeScript"
off(eventName: 'TeamSharingEntityChanged', callback: (TeamSharingEntityChangedInfo: TeamSharingEntityChangedInfo) => void): void;
```

###### Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| eventName | `'TeamSharingEntityChanged'` | TeamSharingEntityChanged |
| callback | `(TeamSharingEntityChangedInfo: `[`TeamSharingEntityChangedInfo`](https://www.adaptabletools.com/docs/reference/teamsharingentitychangedinfo.md)`) => void` | The listener that was passed to `on` |

###### Returns

`void`

### off

Unsubscribe from CellSelectionChanged

```ts title="TypeScript"
off(eventName: 'CellSelectionChanged', callback: (cellSelectionChangedInfo: CellSelectionChangedInfo) => void): void;
```

###### Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| eventName | `'CellSelectionChanged'` | CellSelectionChanged |
| callback | `(cellSelectionChangedInfo: `[`CellSelectionChangedInfo`](https://www.adaptabletools.com/docs/reference/cellselectionchangedinfo.md)`) => void` | The listener that was passed to `on` |

###### Returns

`void`

### on

Event fired whenever AdapTable is Sorted

```ts title="TypeScript"
on(eventName: 'GridSorted', callback: (gridSortedInfo: GridSortedInfo) => void): VoidFunction;
```

###### Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| eventName | `'GridSorted'` | GridSorted |
| callback | `(gridSortedInfo: `[`GridSortedInfo`](https://www.adaptabletools.com/docs/reference/gridsortedinfo.md)`) => void` | GridSortedInfo which contains current Column Sorts |

###### Returns

 the unsubscribe function

`VoidFunction`

### on

Event fired whenever the Row **Selection in AdapTable changes**.

```ts title="TypeScript"
on(eventName: 'RowSelectionChanged', callback: (rowSelectionChangedInfo: RowSelectionChangedInfo) => void): VoidFunction;
```

###### Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| eventName | `'RowSelectionChanged'` | RowSelectionChanged |
| callback | `(rowSelectionChangedInfo: `[`RowSelectionChangedInfo`](https://www.adaptabletools.com/docs/reference/rowselectionchangedinfo.md)`) => void` | RowSelectionChangedInfo which contains information of any rows that are selected. |

###### Returns

 the unsubscribe function

`VoidFunction`

### on

Event fired whenever a shipped theme (`light`, `dark`, or `os`) is selected or re-applied

```ts title="TypeScript"
on(eventName: 'ThemeSelected', callback: (themeSelectedInfo: ThemeSelectedInfo) => void): VoidFunction;
```

###### Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| eventName | `'ThemeSelected'` | ThemeSelected |
| callback | `(themeSelectedInfo: `[`ThemeSelectedInfo`](https://www.adaptabletools.com/docs/reference/themeselectedinfo.md)`) => void` | ThemeSelectedInfo containing the active system theme name |

###### Returns

 the unsubscribe function

`VoidFunction`

### on

Event fired whenever a **System Status Message is displayed** in AdapTable

```ts title="TypeScript"
on(eventName: 'SystemStatusMessageDisplayed', callback: (systemStatusMessageDisplayedInfo: SystemStatusMessageDisplayedInfo) => void): VoidFunction;
```

###### Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| eventName | `'SystemStatusMessageDisplayed'` | SystemStatusMessageDisplayed |
| callback | `(systemStatusMessageDisplayedInfo: `[`SystemStatusMessageDisplayedInfo`](https://www.adaptabletools.com/docs/reference/systemstatusmessagedisplayedinfo.md)`) => void` | SystemStatusMessageDisplayed which provides `SystemStatusMessageInfo` |

###### Returns

 the unsubscribe function

`VoidFunction`

### on

Event fired whenever an **Alert is triggered** in AdapTable.

```ts title="TypeScript"
on(eventName: 'AlertFired', callback: (alertFiredInfo: AlertFiredInfo) => void): VoidFunction;
```

###### Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| eventName | `'AlertFired'` | AlertFired |
| callback | `(alertFiredInfo: `[`AlertFiredInfo`](https://www.adaptabletools.com/docs/reference/alertfiredinfo.md)`) => void` | AlertFiredInfo which wrap the Alert that was fired |

###### Returns

 the unsubscribe function

`VoidFunction`

### on

Event fired when **Data has been imported**

```ts title="TypeScript"
on(eventName: 'DataImported', callback: (dataImportedInfo: DataImportedInfo) => void): VoidFunction;
```

###### Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| eventName | `'DataImported'` | DataImported |
| callback | `(dataImportedInfo: `[`DataImportedInfo`](https://www.adaptabletools.com/docs/reference/dataimportedinfo.md)`) => void` | DataImportedInfo which contains the imported data |

###### Returns

 the unsubscribe function

`VoidFunction`

### on

Event fired whenever **Cell Flashing** is triggered in AdapTable.

```ts title="TypeScript"
on(eventName: 'FlashingCellDisplayed', callback: (flashingCellDisplayedInfo: FlashingCellDisplayedInfo) => void): VoidFunction;
```

###### Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| eventName | `'FlashingCellDisplayed'` | FlashingCellDisplayed |
| callback | `(flashingCellDisplayedInfo: `[`FlashingCellDisplayedInfo`](https://www.adaptabletools.com/docs/reference/flashingcelldisplayedinfo.md)`) => void` | FlashingCellDisplayedInfo which wrap the `AdaptableFlashingCell` that was displayed |

###### Returns

 the unsubscribe function

`VoidFunction`

### on

Event fired whenever the current Layout updates in AdapTable

```ts title="TypeScript"
on(eventName: 'LayoutChanged', callback: (layoutChangedInfo: LayoutChangedInfo) => void): VoidFunction;
```

###### Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| eventName | `'LayoutChanged'` | LayoutChanged |
| callback | `(layoutChangedInfo: `[`LayoutChangedInfo`](https://www.adaptabletools.com/docs/reference/layoutchangedinfo.md)`) => void` | LayoutChanged which includes just the name of the currently selected Layout. |

###### Returns

 the unsubscribe function

`VoidFunction`

### on

Event fired whenever a Calculated Columns is created / updated / deleted in AdapTable

```ts title="TypeScript"
on(eventName: 'CalculatedColumnChanged', callback: (calculatedColumnChangedInfo: CalculatedColumnChangedInfo) => void): VoidFunction;
```

###### Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| eventName | `'CalculatedColumnChanged'` | CalculatedColumnChanged |
| callback | `(calculatedColumnChangedInfo: `[`CalculatedColumnChangedInfo`](https://www.adaptabletools.com/docs/reference/calculatedcolumnchangedinfo.md)`) => void` | CalculatedColumnChanged which includes the action and details of the Calculated Column |

###### Returns

 the unsubscribe function

`VoidFunction`

### on

Event fired whenever **Configure Button is clicked in a Custom Toolbar**

```ts title="TypeScript"
on(eventName: 'CustomToolbarConfigured', callback: (customToolbarConfiguredInfo: CustomToolbarConfiguredInfo) => void): VoidFunction;
```

###### Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| eventName | `'CustomToolbarConfigured'` | CustomToolbarConfigured |
| callback | `(customToolbarConfiguredInfo: `[`CustomToolbarConfiguredInfo`](https://www.adaptabletools.com/docs/reference/customtoolbarconfiguredinfo.md)`) => void` | CustomToolbarConfiguredInfo which contains the Custom Toolbar |

###### Returns

 the unsubscribe function

`VoidFunction`

### on

Event fired whenever a Grid Filter is applied in AdapTable

```ts title="TypeScript"
on(eventName: 'GridFilterApplied', callback: (gridFilterAppliedInfo: GridFilterAppliedInfo) => void): VoidFunction;
```

###### Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| eventName | `'GridFilterApplied'` | GridFilterApplied |
| callback | `(gridFilterAppliedInfo: `[`GridFilterAppliedInfo`](https://www.adaptabletools.com/docs/reference/gridfilterappliedinfo.md)`) => void` | GridFilterAppliedInfo which provides details of the Grid Filter that was applied |

###### Returns

 the unsubscribe function

`VoidFunction`

### on

Event fired whenever **Dashboard State changes**
Primarily used for rendering Custom toolbars.

```ts title="TypeScript"
on(eventName: 'DashboardChanged', callback: (dashboardChangedInfo: DashboardChangedInfo) => void): VoidFunction;
```

###### Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| eventName | `'DashboardChanged'` | DashboardChanged |
| callback | `(dashboardChangedInfo: `[`DashboardChangedInfo`](https://www.adaptabletools.com/docs/reference/dashboardchangedinfo.md)`) => void` | DashboardChangedInfo which includes the full Dashboard State |

###### Returns

 the unsubscribe function

`VoidFunction`

### on

Event fired **before** Adaptable State changes (before the action is processed)

```ts title="TypeScript"
on(eventName: 'BeforeAdaptableStateChange', callback: (beforeAdaptableStateChangeInfo: BeforeAdaptableStateChangeInfo) => void): () => void;
```

###### Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| eventName | `'BeforeAdaptableStateChange'` | BeforeAdaptableStateChange |
| callback | `(beforeAdaptableStateChangeInfo: `[`BeforeAdaptableStateChangeInfo`](https://www.adaptabletools.com/docs/reference/beforeadaptablestatechangeinfo.md)`) => void` | BeforeAdaptableStateChangeInfo |

###### Returns

 the unsubscribe function

`() => void`

### on

Event fired whenever **Adaptable State changes**

```ts title="TypeScript"
on(eventName: 'AdaptableStateChanged', callback: (adaptableStateChangedInfo: AdaptableStateChangedInfo) => void): () => void;
```

###### Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| eventName | `'AdaptableStateChanged'` | AdaptableStateChanged |
| callback | `(adaptableStateChangedInfo: `[`AdaptableStateChangedInfo`](https://www.adaptabletools.com/docs/reference/adaptablestatechangedinfo.md)`) => void` | AdaptableStateChangedInfo |

###### Returns

 the unsubscribe function

`() => void`

### on

Event fired whenever **Adaptable State is reloaded**

```ts title="TypeScript"
on(eventName: 'AdaptableStateReloaded', callback: (adaptableStateReloadedInfo: AdaptableStateReloadedInfo) => void): () => void;
```

###### Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| eventName | `'AdaptableStateReloaded'` | AdaptableStateReloaded |
| callback | `(adaptableStateReloadedInfo: `[`AdaptableStateReloadedInfo`](https://www.adaptabletools.com/docs/reference/adaptablestatereloadedinfo.md)`) => void` | AdaptableStateReloadedInfo |

###### Returns

 the unsubscribe function

`() => void`

### on

Event fired whenever **a change occurs relating to live reports / data**
Used in conjunction with AdapTable&#39;s partners OpenFin or ipushpull

```ts title="TypeScript"
on(eventName: 'LiveDataChanged', callback: (liveDataChangedInfo: LiveDataChangedInfo) => void): () => void;
```

###### Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| eventName | `'LiveDataChanged'` | LiveDataChanged |
| callback | `(liveDataChangedInfo: `[`LiveDataChangedInfo`](https://www.adaptabletools.com/docs/reference/livedatachangedinfo.md)`) => void` | LiveDataChangedInfo which includes details of what triggered the event and the live report which is affected. |

###### Returns

 the unsubscribe function

`() => void`

### on

Event fired when a Row Form is submitted

```ts title="TypeScript"
on(eventName: 'RowFormSubmitted', callback: (rowFormSubmittedInfo: RowFormSubmittedInfo) => void): () => void;
```

###### Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| eventName | `'RowFormSubmitted'` | RowFormSubmitted |
| callback | `(rowFormSubmittedInfo: `[`RowFormSubmittedInfo`](https://www.adaptabletools.com/docs/reference/rowformsubmittedinfo.md)`) => void` | `RowFormSubmittedInfo` for the submitted form |

###### Returns

 A function that removes this listener

`() => void`

### on

Event fired when a DataSet is Selected

```ts title="TypeScript"
on(eventName: 'DataSetSelected', callback: (dataSetSelectedInfo: DataSetSelectedInfo) => void): () => void;
```

###### Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| eventName | `'DataSetSelected'` | DataSetSelected |
| callback | `(dataSetSelectedInfo: `[`DataSetSelectedInfo`](https://www.adaptabletools.com/docs/reference/datasetselectedinfo.md)`) => void` | DataSetSelectedInfo |

###### Returns

 A function that removes this listener

`() => void`

### on

Event fired when a Chart is Changed

```ts title="TypeScript"
on(eventName: 'ChartChanged', callback: (chartChangedInfo: ChartChangedInfo) => void): () => void;
```

###### Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| eventName | `'ChartChanged'` | ChartChanged |
| callback | `(chartChangedInfo: `[`ChartChangedInfo`](https://www.adaptabletools.com/docs/reference/chartchangedinfo.md)`) => void` | ChartChangedInfo |

###### Returns

 A function that removes this listener

`() => void`

### on

Event fired when a Comment is Changed

```ts title="TypeScript"
on(eventName: 'CommentChanged', callback: (commentChangedInfo: CommentChangedInfo) => void): () => void;
```

###### Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| eventName | `'CommentChanged'` | CommentChanged |
| callback | `(commentChangedInfo: `[`CommentChangedInfo`](https://www.adaptabletools.com/docs/reference/commentchangedinfo.md)`) => void` | `CommentChangedInfo` whose `commentThreads` is every thread after the change |

###### Returns

 A function that removes this listener

`() => void`

### on

Event fired whenever a Note is added, edited or deleted in AdapTable

```ts title="TypeScript"
on(eventName: 'NoteChanged', callback: (noteChangedInfo: NoteChangedInfo) => void): VoidFunction;
```

###### Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| eventName | `'NoteChanged'` | NoteChanged |
| callback | `(noteChangedInfo: `[`NoteChangedInfo`](https://www.adaptabletools.com/docs/reference/notechangedinfo.md)`) => void` | NoteChangedInfo which includes the action (Added / Edited / Deleted) and the Note |

###### Returns

 the unsubscribe function

`VoidFunction`

### on

Event fired whenever a Schedule is triggered in AdapTable

```ts title="TypeScript"
on(eventName: 'ReportScheduleRan', callback: (reportScheduleRanInfo: ReportScheduleRanInfo) => void): VoidFunction;
```

###### Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| eventName | `'ReportScheduleRan'` | ReportScheduleRan |
| callback | `(reportScheduleRanInfo: `[`ReportScheduleRanInfo`](https://www.adaptabletools.com/docs/reference/reportscheduleraninfo.md)`) => void` | provides the report schedule and `RanAt` (when this run started) |

###### Returns

 A function that removes this listener

`VoidFunction`

### on

Fired when Adaptable is up and running - has no arguments.

```ts title="TypeScript"
on(eventName: 'AdaptableReady', callback: (adaptableReadyInfo: AdaptableReadyInfo) => void): VoidFunction;
```

###### Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| eventName | `'AdaptableReady'` | AdaptableReady |
| callback | `(adaptableReadyInfo: `[`AdaptableReadyInfo`](https://www.adaptabletools.com/docs/reference/adaptablereadyinfo.md)`) => void` | An `AdaptableReadyInfo` object which contains the adaptableApi and GridOptions |

###### Returns

 the unsubscribe function

`VoidFunction`

### on

Fired when Adaptable is destroyed

```ts title="TypeScript"
on(eventName: 'AdaptableDestroy', callback: () => void): VoidFunction;
```

###### Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| eventName | `'AdaptableDestroy'` | AdaptableDestroy |
| callback | `() => void` | A callback for listening to `AdaptableDestroy` |

###### Returns

 the unsubscribe function

`VoidFunction`

### on

Event fired when an FDC3 message is sent(Raise Intent or Broadcast Context) or received (Intent or Context)

```ts title="TypeScript"
on(eventName: 'Fdc3Message', callback: (fdc3MessageInfo: Fdc3MessageInfo) => void): () => void;
```

###### Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| eventName | `'Fdc3Message'` | Fdc3Message |
| callback | `(fdc3MessageInfo: `[`Fdc3MessageInfo`](https://www.adaptabletools.com/docs/reference/fdc3messageinfo.md)`) => void` | Fdc3MessageInfo |

###### Returns

 A function that removes this listener

`() => void`

### on

Event fired whenever a Column Filter changes in AdapTable — including
incomplete editor drafts that are not yet applied.

```ts title="TypeScript"
on(eventName: 'ColumnFilterChanged', callback: (columnFilterChangedInfo: ColumnFilterChangedInfo) => void): VoidFunction;
```

###### Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| eventName | `'ColumnFilterChanged'` | ColumnFilterChanged |
| callback | `(columnFilterChangedInfo: `[`ColumnFilterChangedInfo`](https://www.adaptabletools.com/docs/reference/columnfilterchangedinfo.md)`) => void` | ColumnFilterChangedInfo (`isApplied` / `isComplete` distinguish draft vs apply) |

###### Returns

 the unsubscribe function

`VoidFunction`

### on

Event fired whenever a Column Filter is Applied in AdapTable (persisted;
grid filtering may run). Prefer ColumnFilterChanged + `isApplied` for new code.

```ts title="TypeScript"
on(eventName: 'ColumnFilterApplied', callback: (columnFilterAppliedInfo: ColumnFilterAppliedInfo) => void): VoidFunction;
```

###### Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| eventName | `'ColumnFilterApplied'` | ColumnFilterApplied |
| callback | `(columnFilterAppliedInfo: `[`ColumnFilterAppliedInfo`](https://www.adaptabletools.com/docs/reference/columnfilterappliedinfo.md)`) => void` | ColumnFilterApplied which provides details of the Column Filter that was applied |

###### Returns

 the unsubscribe function

`VoidFunction`

### on

Event fired whenever a cell changes in the Grid

```ts title="TypeScript"
on(eventName: 'CellChanged', callback: (cellChangedInfo: CellChangedInfo) => void): VoidFunction;
```

###### Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| eventName | `'CellChanged'` | CellChanged |
| callback | `(cellChangedInfo: `[`CellChangedInfo`](https://www.adaptabletools.com/docs/reference/cellchangedinfo.md)`) => void` | CellChangedInfo which includes full details of what changed |

###### Returns

 the unsubscribe function

`VoidFunction`

### on

Event fired when a row is added, deleted or updated in the Grid

```ts title="TypeScript"
on(eventName: 'RowChanged', callback: (rowChangedInfo: RowChangedInfo) => void): VoidFunction;
```

###### Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| eventName | `'RowChanged'` | RowChanged |
| callback | `(rowChangedInfo: `[`RowChangedInfo`](https://www.adaptabletools.com/docs/reference/rowchangedinfo.md)`) => void` | RowChangedInfo which includes full details of changed Rows |

###### Returns

 the unsubscribe function

`VoidFunction`

### on

Event fired whenever a Shared Entity in Team Sharing changes

```ts title="TypeScript"
on(eventName: 'TeamSharingEntityChanged', callback: (TeamSharingEntityChangedInfo: TeamSharingEntityChangedInfo) => void): VoidFunction;
```

###### Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| eventName | `'TeamSharingEntityChanged'` | TeamSharingEntityChanged |
| callback | `(TeamSharingEntityChangedInfo: `[`TeamSharingEntityChangedInfo`](https://www.adaptabletools.com/docs/reference/teamsharingentitychangedinfo.md)`) => void` | TeamSharingEntityChangedInfo which includes full details of what changed |

###### Returns

 the unsubscribe function

`VoidFunction`

### on

Event fired whenever the Cell **Selection in AdapTable changes**.

```ts title="TypeScript"
on(eventName: 'CellSelectionChanged', callback: (cellSelectionChangedInfo: CellSelectionChangedInfo) => void): VoidFunction;
```

###### Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| eventName | `'CellSelectionChanged'` | CellSelectionChanged |
| callback | `(cellSelectionChangedInfo: `[`CellSelectionChangedInfo`](https://www.adaptabletools.com/docs/reference/cellselectionchangedinfo.md)`) => void` | CellSelectionChangedInfo which contains information of any cells that are selected. |

###### Returns

 the unsubscribe function

`VoidFunction`
