session.Session.plan
TypeScript
- Python Unavailable
- Ruby Unavailable
- Lua Unavailable
- TypeScript
- Rust Unavailable
- Go Unavailable
- Java Unavailable
- .NET Unavailable
- C++ Unavailable
- Swift Unavailable
- Module
- session
- Declared in
- Session
- Package
- libtmux
- Source
- packages/libtmux/src/session.ts
- plan ( ) SessionPlans
-
The same mutations, described instead of run.
session.plan.newWindow(…)takes whatsession.newWindow(…)takes and resolves to what it resolves to; it hands the work toServer.batchso the planned mutations share one final snapshot.Examples
const [editor, logs] = await server.batch([session.plan.newWindow({ name: "editor" }),session.plan.newWindow({ name: "logs" }),]);
0 declared, 0 inherited