MCPcopy Create free account
hub / github.com/araddon/qlbridge / DrainChan

Method DrainChan

exec/executor.go:398–401  ·  view source on GitHub ↗

The drain is the last out channel, on last task

()

Source from the content-addressed store, hash-verified

396
397// The drain is the last out channel, on last task
398func (m *JobExecutor) DrainChan() MessageChan {
399 tasks := m.RootTask.Children()
400 return tasks[len(tasks)-1].(TaskRunner).MessageOut()
401}

Callers 1

testSubselectFunction · 0.80

Calls 2

ChildrenMethod · 0.65
MessageOutMethod · 0.65

Tested by 1

testSubselectFunction · 0.64