feat: add scheduler

This commit is contained in:
Oarkflow
2024-10-16 17:53:02 +05:45
parent a1029708a1
commit 085fdf7661
2 changed files with 17 additions and 9 deletions

View File

@@ -51,6 +51,7 @@ func sync() {
f := dag.NewDAG("Sample DAG", "sample-dag", mq.WithSyncMode(true), mq.WithNotifyResponse(tasks.NotifyResponse))
setup(f)
sendData(f)
fmt.Println(f.SaveSVG("dag.svg"))
}
func async() {