# libtmux.control:connection

- **Package:** libtmux/control
- **Language:** Common Lisp
- **Kind:** class
- **Source:** https://github.com/libtmux/libtmux-lisp/blob/c2e5fc4ed3befda21f45dfa5d5868c38fd138311/src/control.lisp#L24
- **Public owner:** libtmux.control
- **Bases:** `common-lisp:standard-object`
- **Page:** https://libtmux.org/en/lisp/latest/reference/libtmux-control-connection/

An owned persistent tmux connection with one protocol worker.
Use WITH-CONNECTION or CLOSE-CONNECTION to release it. Closing the originating
core client does not close this resource. Captured core observations remain
separate; raw control commands do not refresh them. RECONNECT requires that
original core client to remain open.

See also: `libtmux.control:connection-state`, `libtmux.control:open-connection`, `libtmux.control:pending-cleanups`, `libtmux.control:reconnect`.
