save

open override fun <S : Any> save(snapshot: Snapshot<S>): Mono<Void>

Saves a snapshot to the in-memory map by serializing it to JSON.

Return

a Mono that completes when the save operation is done

Parameters

snapshot

the snapshot to save