# window.Window.plan

- **Module:** window.Window
- **Package:** @libtmux/libtmux
- **Language:** TypeScript
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-ts/blob/2cb93308200da38a26b59876618116850f110607/packages/libtmux/src/window.ts#L269
- **Page:** https://libtmux.org/reference/ts/window-window-plan/

```
window.Window.plan() -> WindowPlans
```

The same mutations, described instead of run.

Takes what the direct calls take and resolves to what they resolve to,
for {@link Server.batch} to share one final snapshot.

## Example

```ts
const [created] = await server.batch([window.plan.split({})]);
created.id;
```
