loadSessionStateSnapshotIntoStore
See source codeLoads a snapshot of the editor's instance state into the store of a new editor instance.
function loadSessionStateSnapshotIntoStore(
store: TLStore,
snapshot: TLSessionStateSnapshot,
opts?: TLLoadSessionStateSnapshotOptions
): voidParameters
| Name | Description |
|---|---|
| The store to load the instance state into |
| The instance state snapshot to load |
|
Returns
voidPrev
LoadingScreenNext
loadSnapshot