[android-components](../../index.md) / [mozilla.components.browser.session.storage](../index.md) / [SessionStorage](index.md) / [save](./save.md)

# save

`@WorkerThread fun save(snapshot: `[`Snapshot`](../../mozilla.components.browser.session/-session-manager/-snapshot/index.md)`): `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/browser/session/src/main/java/mozilla/components/browser/session/storage/SessionStorage.kt#L55)

Overrides [Storage.save](../-auto-save/-storage/save.md)

Saves the given state to disk.

