We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2a7206e commit f746363Copy full SHA for f746363
tree.go
@@ -129,8 +129,8 @@ func (t *Tree) init() {
129
// Add attaches a new child process to a running oversight tree. This call must
130
// be used on running oversight trees. If the tree is halted, it is going to
131
// fail with ErrTreeNotRunning. The valid types are ChildProcessSpecification,
132
-// ChildProcess, and *Tree. If the added child process is invalid, it is going
133
-// to fail with ErrInvalidChildProcessType.
+// ChildProcess, func(context.Context) and *Tree. If the added child process is
+// invalid, it is going to fail with ErrInvalidChildProcessType.
134
func (t *Tree) Add(spec interface{}) error {
135
t.init()
136
if t.err() != nil {
0 commit comments