Type Alias: WithSandboxCallback<T, R>
type WithSandboxCallback<T, R> = (...nodes) =>
| boolean
| {
commit: boolean;
return: R;
};
Callback function for SandboxManager.withSandbox.
Type Parameters
| Type Parameter |
|---|
T extends readonly [object, ...object[]] |
R |
Parameters
| Parameter | Type |
|---|---|
...nodes | T |
Returns
| boolean
| {
commit: boolean;
return: R;
}