mirror of
https://github.com/docker/compose.git
synced 2026-11-23 16:40:25 +00:00
docs(api): state that EventProcessor.Done reports cancellation as failure
Signed-off-by: Guillaume Lours <glours@users.noreply.github.com>
This commit is contained in:
parent
d6b5fd62a4
commit
2167baf85f
1 changed files with 2 additions and 1 deletions
|
|
@ -125,6 +125,7 @@ type EventProcessor interface {
|
|||
// On notify about (sub)task and progress processing operation
|
||||
On(events ...Resource)
|
||||
// Done is triggered as a Compose operation completed.
|
||||
// success is true when the operation completed without error.
|
||||
// success is true when the operation completed without error; it is false
|
||||
// when the operation failed, including when it was cancelled (e.g. Ctrl-C).
|
||||
Done(operation string, success bool)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue