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

Method WaitForCompletion

tasks_get_task.go:91–94  ·  view source on GitHub ↗

WaitForCompletion indicates whether to wait for the matching tasks to complete (default: false).

(waitForCompletion bool)

Source from the content-addressed store, hash-verified

89// WaitForCompletion indicates whether to wait for the matching tasks
90// to complete (default: false).
91func (s *TasksGetTaskService) WaitForCompletion(waitForCompletion bool) *TasksGetTaskService {
92 s.waitForCompletion = &waitForCompletion
93 return s
94}
95
96// buildURL builds the URL for the operation.
97func (s *TasksGetTaskService) buildURL() (string, url.Values, error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected