MCPcopy Index your code
hub / github.com/dgraph-io/dgraph / Kind

Method Kind

worker/queue.go:346–348  ·  view source on GitHub ↗

Kind returns the type of the task.

()

Source from the content-addressed store, hash-verified

344
345// Kind returns the type of the task.
346func (t TaskMeta) Kind() TaskKind {
347 return TaskKind((t >> 16) & math.MaxUint16)
348}
349
350// Status returns the current status of the task.
351func (t TaskMeta) Status() TaskStatus {

Callers 4

InitTasksFunction · 0.80
runMethod · 0.80
handleTypeMethod · 0.80
resolveTaskFunction · 0.80

Calls 1

TaskKindTypeAlias · 0.85

Tested by

no test coverage detected