Type Alias WithSandboxCallback<T, R>

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

Callback function for SandboxManager.withSandbox.

Type Parameters

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