Type Alias WithSandboxCallback<T, R>

WithSandboxCallback: (...nodes: T) => boolean | { commit: boolean; return: R }

Callback function for SandboxManager.withSandbox.

Type Parameters

  • T extends readonly [object, ...object[]]
  • R

Type declaration

    • (...nodes: T): boolean | { commit: boolean; return: R }
    • Parameters

      • ...nodes: T

      Returns boolean | { commit: boolean; return: R }