Add wait API endpoint for waiting on process exit
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
This commit is contained in:
@@ -26,6 +26,8 @@ type Process interface {
|
||||
CloseIO(context.Context) error
|
||||
// Start the container's user defined process
|
||||
Start(context.Context) error
|
||||
// Wait for the process to exit
|
||||
Wait(context.Context) (*Exit, error)
|
||||
}
|
||||
|
||||
type Task interface {
|
||||
|
Reference in New Issue
Block a user