---
editLink: false
lastUpdated: false
---

[@salesforce/b2c-tooling-sdk](../../modules.md) / [auth](../index.md) / flushAuthSessionStore

# Function: flushAuthSessionStore()

> **flushAuthSessionStore**(): `Promise`\<`void`\>

Defined in: [packages/b2c-tooling-sdk/src/auth/session-store.ts:259](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/b7ec7d4a1464ef7bbb6a5757ffd6f99a18a31bf6/packages/b2c-tooling-sdk/src/auth/session-store.ts#L259)

Wait for the active backend's pending writes, if it buffers any.

## Returns

`Promise`\<`void`\>
