SessionContainerPersistence extension

on

Methods

persist(SessionPersistence persistence) → Future<void>

Available on SessionContainer, provided by the SessionContainerPersistence extension

Snapshots the container into persistence.
restore(SessionPersistence persistence) → Future<bool>

Available on SessionContainer, provided by the SessionContainerPersistence extension

Restores the container from persistence. A null load (nothing persisted yet) leaves the container untouched and returns false.