Skip to content

Documentation / @agentick/sandbox-secure-exec / PersistenceAdapter

Interface: PersistenceAdapter

Defined in: types.ts:38

Methods

load()

load(sandboxId, vfs): Promise<void>

Defined in: types.ts:40

Load persisted VFS state into the given filesystem.

Parameters

sandboxId

string

vfs

VirtualFileSystem

Returns

Promise<void>


save()

save(sandboxId, vfs): Promise<void>

Defined in: types.ts:43

Save the current VFS state for later restoration.

Parameters

sandboxId

string

vfs

VirtualFileSystem

Returns

Promise<void>

Released under the ISC License.