mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
[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>
This commit is contained in:
parent
47f1f51bca
commit
2576cf796f
@ -41,7 +41,7 @@ type task interface {
|
||||
Execute(ctx context.Context) error
|
||||
PostExecute(ctx context.Context) error
|
||||
WaitToFinish() error
|
||||
Notify(err error)
|
||||
Notify(err error) // notify if task is terminated
|
||||
OnEnqueue() error
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user