On this page
session.Session.plan
- Module
- session
- Declared in
- Session
- Package
- @libtmux/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