# window.Window.plan

- **Module:** window.Window
- **Package:** libtmux
- **Language:** TypeScript
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-ts/blob/3fe1ca654b81b8cbf4a13b777a001a3298c87a6f/packages/libtmux/src/window.ts#L287
- **Page:** https://libtmux.org/en/ts/latest/reference/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;
```
