Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExecTaskReply ¶
type ExecTaskReplyFunc ¶
type ExecTaskReplyFunc func(*ExecTaskReply) error
type ExecTaskRequest ¶
type Task ¶
type Task struct {
// contains filtered or unexported fields
}
func (*Task) CancelExecTask ¶
func (*Task) ExecTask ¶
func (uc *Task) ExecTask(ctx kratosx.Context, task *ExecTaskRequest, fn ExecTaskReplyFunc) error
type TaskFactory ¶
type TaskFactory interface { ExecTask(ctx kratosx.Context, task *ExecTaskRequest, fn ExecTaskReplyFunc) error CancelExecTask(uuid string) }
Click to show internal directories.
Click to hide internal directories.