# LibTmux::Batch::Batch.new

- **Module:** LibTmux::Batch
- **Package:** LibTmux
- **Language:** Raku
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-raku/blob/0b5dd3d32e20f83a0069874e33eab0eb48f55962/lib/LibTmux/Batch.rakumod#L217
- **Page:** https://libtmux.org/en/raku/latest/reference/libtmux-batch-batch-new/

```
method new(Mu :$operations!, Mu :$max-operations = 256,
               Mu :$max-command-bytes = 1024 * 1024,
               Mu :$output-budget-bytes = 8 * 1024 * 1024, *%unknown)
```

Copy finite membership and validate all size/name limits without I/O.

Copy finite membership and validate all size/name limits without I/O.

## Parameters

- `$operations` (`Mu`)
- `$max-operations?` (`Mu`)
- `$max-command-bytes?` (`Mu`)
- `$output-budget-bytes?` (`Mu`)
- `%unknown`
