Core Library0.xAPI Reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

method libtmux-go latest

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.CloseContext
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
Esc

Type to search.

Reference previewOpen reference