MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / OnFail

Method OnFail

Source/Engine/Threading/Task.cpp:189–198  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

187}
188
189void Task::OnFail()
190{
191 SetState(TaskState::Failed);
192
193 // Send event further
194 if (_continueWith)
195 _continueWith->OnFail();
196
197 OnEnd();
198}
199
200void Task::OnCancel()
201{

Callers

nothing calls this directly

Calls 2

SetStateFunction · 0.85
OnEndFunction · 0.85

Tested by

no test coverage detected