mirror of
https://github.com/yusing/godoxy.git
synced 2026-04-25 02:09:01 +02:00
simplify task package implementation
This commit is contained in:
@@ -35,7 +35,7 @@ var (
|
||||
|
||||
const dispatchErr = "notification dispatch error"
|
||||
|
||||
func StartNotifDispatcher(parent *task.Task) *Dispatcher {
|
||||
func StartNotifDispatcher(parent task.Parent) *Dispatcher {
|
||||
dispatcher = &Dispatcher{
|
||||
task: parent.Subtask("notification"),
|
||||
logCh: make(chan *LogMessage),
|
||||
|
||||
Reference in New Issue
Block a user