MCPcopy Create free account
hub / github.com/olivere/elastic / TaskIdFromNodeAndId

Method TaskIdFromNodeAndId

tasks_get_task.go:84–87  ·  view source on GitHub ↗

TaskIdFromNodeAndId indicates to return the task on the given node with specified id.

(nodeId string, id int64)

Source from the content-addressed store, hash-verified

82
83// TaskIdFromNodeAndId indicates to return the task on the given node with specified id.
84func (s *TasksGetTaskService) TaskIdFromNodeAndId(nodeId string, id int64) *TasksGetTaskService {
85 s.taskId = fmt.Sprintf("%s:%d", nodeId, id)
86 return s
87}
88
89// WaitForCompletion indicates whether to wait for the matching tasks
90// to complete (default: false).

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected