ControlMode.CloseContext
CloseContext starts an idempotent shutdown and waits within ctx. Concurrent calls join the same shutdown. If ctx ends after shutdown starts, shutdown continues and a later call may wait for completion; an already-ended ctx does not start shutdown.
Source and package
- Qualified name
-
tmuxtest.Control Mode. Close Context - Package
- tmuxtest
- Declared in
ControlMode- Distribution
- github.com/libtmux/libtmux-go/tmux
- Source
- tmux/tmuxtest/control.go
- func (c *Control
Mode ) CloseContext( ctx context.Context , ) error -
- Parameters