[skip ci] Add desc comments for Condition (#9019)

Signed-off-by: dragondriver <jiquan.long@zilliz.com>
This commit is contained in:
dragondriver 2021-10-01 15:37:18 +08:00 committed by GitHub
parent e6679d559d
commit ab0255b21a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,6 +16,7 @@ import (
"errors"
)
// Condition defines the interface of variable condition.
type Condition interface {
WaitToFinish() error
Notify(err error)