[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:
jaime 2021-11-30 00:01:49 +08:00 committed by GitHub
parent 47f1f51bca
commit 2576cf796f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
}