Skip to documentation
Docs navigation
Docs/close()
Fleet Memory

close()

Close resources owned by the fleet.

What it does

Close resources owned by the fleet.

The operation follows the fleet’s memory mode and agent identity rules when selecting, storing, or transferring memory.

Signature

TypeScript
close(): Promise<void>

Example

example.ts
await fleet.close();