mirror of https://github.com/milvus-io/milvus.git
[skip ci] Add comments for Task interface (#12420)
Signed-off-by: yun.zhang <yun.zhang@zilliz.com> Co-authored-by: yun.zhang <yun.zhang@zilliz.com>pull/12426/head
parent
4dc2730bf5
commit
832b771dcd
|
@ -36,7 +36,7 @@ type task interface {
|
|||
Ctx() context.Context
|
||||
ID() UniqueID // return ReqID
|
||||
SetID(uid UniqueID) // set ReqID
|
||||
Name() string
|
||||
Name() string // set task name
|
||||
PreExecute(ctx context.Context) error
|
||||
Execute(ctx context.Context) error
|
||||
PostExecute(ctx context.Context) error
|
||||
|
|
Loading…
Reference in New Issue