PTYProcess.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.PTYProcess. Close Context - Package
- tmuxtest
- Declared in
PTYProcess- Distribution
- github.com/libtmux/libtmux-go/tmux
- Source
- tmux/tmuxtest/pty_process.go
- func (p *PTYProcess) CloseContext(ctx context
.Context ) error -
- Parameters