# AdaptableClearStateFunction

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

Function that clears persisted state from the storage system.
Only invoked during `StateApi.reloadInitialState()` operations.

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

## Calls

```ts title="TypeScript"
(adaptableStateFunctionConfig: AdaptableStateFunctionConfig): Promise<unknown>;
```

###### Parameters

| Parameter | Type |
| --- | --- |
| adaptableStateFunctionConfig | [`AdaptableStateFunctionConfig`](https://www.adaptabletools.com/docs/reference/adaptablestatefunctionconfig.md) |

###### Returns

`Promise<unknown>`
