MCPcopy
hub / github.com/dgraph-io/dgraph / Status

Method Status

worker/queue.go:351–353  ·  view source on GitHub ↗

Status returns the current status of the task.

()

Source from the content-addressed store, hash-verified

349
350// Status returns the current status of the task.
351func (t TaskMeta) Status() TaskStatus {
352 return TaskStatus(t & math.MaxUint16)
353}
354
355// uint64 represents the TaskMeta as a uint64.
356func (t TaskMeta) uint64() uint64 {

Callers 7

amLeaderMethod · 0.80
updateZeroLeaderMethod · 0.80
InitTasksFunction · 0.80
EnqueueMethod · 0.80
runMethod · 0.80
AmLeaderMethod · 0.80
resolveTaskFunction · 0.80

Calls 1

TaskStatusTypeAlias · 0.85

Tested by

no test coverage detected