MCPcopy Create free account
hub / github.com/bloomberg/quantum / getFirstTask

Method getFirstTask

quantum/impl/quantum_task_impl.h:151–155  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

149void Task::setPrevTask(ITaskContinuation::Ptr prevTask) { _prev = prevTask; }
150
151inline
152ITaskContinuation::Ptr Task::getFirstTask()
153{
154 return (_type == Type::First) ? shared_from_this() : getPrevTask()->getFirstTask();
155}
156
157inline
158ITaskContinuation::Ptr Task::getErrorHandlerOrFinalTask()

Callers 1

endMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected