Documentation ¶ Index ¶ type Waiter func (w Waiter) Wait(pid int, timeout int64) (<-chan struct{}, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Waiter ¶ type Waiter struct{} Waiter struct func (Waiter) Wait ¶ func (w Waiter) Wait(pid int, timeout int64) (<-chan struct{}, error) Wait find process with defined PID and wait for process will finish or be killed. Checking the liveliness of the process occurs with a timeout delay. The timeout is set in milliseconds. Source Files ¶ View all Source files waiter.go Click to show internal directories. Click to hide internal directories.