mirror of https://github.com/milvus-io/milvus.git
[skip ci] Add comments for Task interface (#12418)
Signed-off-by: yun.zhang <yun.zhang@zilliz.com> Co-authored-by: yun.zhang <yun.zhang@zilliz.com>pull/12426/head
parent
47f1f51bca
commit
2576cf796f
|
@ -41,7 +41,7 @@ type task interface {
|
||||||
Execute(ctx context.Context) error
|
Execute(ctx context.Context) error
|
||||||
PostExecute(ctx context.Context) error
|
PostExecute(ctx context.Context) error
|
||||||
WaitToFinish() error
|
WaitToFinish() error
|
||||||
Notify(err error)
|
Notify(err error) // notify if task is terminated
|
||||||
OnEnqueue() error
|
OnEnqueue() error
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue