waiter

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 8, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL