From c57413bf97fcc2d7e727c80f8447b44805cc7a2f Mon Sep 17 00:00:00 2001 From: noneback Date: Fri, 22 Nov 2024 20:45:25 +0800 Subject: [PATCH] doc(api): add exported APIs docs --- taskflow.go | 1 + 1 file changed, 1 insertion(+) diff --git a/taskflow.go b/taskflow.go index 28556e3..40866b0 100644 --- a/taskflow.go +++ b/taskflow.go @@ -65,6 +65,7 @@ func (tf *TaskFlow) NewCondition(name string, predict func() uint) *Task { return task } +// Dump writes graph dot data into writer func (tf *TaskFlow) Dump(writer io.Writer) error { return visualize(tf, writer) }