Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.fermion.app/llms.txt

Use this file to discover all available pages before exploring further.

The isConnected() method provides a quick way to verify whether your current sandbox instance is actively connected to Fermion’s infrastructure.

isConnected()

Description: Checks if the WebSocket connection to the sandbox is currently active. Parameters: None Returns: boolean - true if connected, false otherwise Example:
console.log(sandbox.isConnected()) // false

await sandbox.create({ shouldBackupFilesystem: false })
console.log(sandbox.isConnected()) // true