# planning.planWorkspace

**Workspace Manager concept example** A working example of the core library. It can change without notice.

- **Module:** planning
- **Package:** libtmux
- **Language:** TypeScript
- **Kind:** function
- **Source:** https://github.com/libtmux/libtmux-ts/blob/46cccfef2a546de55ce8b308249b8c76339089a0/packages/workspace/src/planning.ts#L110
- **Page:** https://libtmux.org/en/ts/latest/reference/planning-planworkspace/

```
async function planWorkspace(
  server: Server,
  workspace: Workspace,
  prune: PrunePolicy,
  acquisition: { signal?: AbortLike } = {},
): Promise<WorkspacePlan>
```

## Parameters

- `server` (`Server`)
- `workspace` (`Workspace`)
- `prune` (`PrunePolicy`)
- `acquisition` (`{ signal?: AbortLike }`)
  Default: `{}`.
