[**Documentation**](../../../../README)

***

[Documentation](../../../../README) / [@zerotal/flow](../../README) / [index](../README) / getDurableStore

# Function: getDurableStore()

> **getDurableStore**(): [`DurableStore`](../interfaces/DurableStore)

Defined in: [flow/src/durable.ts:134](https://github.com/zerotaldev/zerotal/blob/1d6fb26b05b18ba077de1bfaeb46c42131cd8b70/packages/flow/src/durable.ts#L134)

Get the active durable-snapshot store (the in-process default, or whatever was
installed via [setDurableStore](setDurableStore)). Mainly useful for tests or tooling that
inspects persisted snapshots directly.

## Returns

[`DurableStore`](../interfaces/DurableStore)

The current [DurableStore](../interfaces/DurableStore).
