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

Method OnFinish

Source/Engine/Threading/Task.cpp:177–187  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

175}
176
177void Task::OnFinish()
178{
179 ASSERT(IsRunning() && !IsCancelRequested());
180 SetState(TaskState::Finished);
181
182 // Send event further
183 if (_continueWith)
184 _continueWith->Start();
185
186 OnEnd();
187}
188
189void Task::OnFail()
190{

Callers

nothing calls this directly

Calls 5

IsCancelRequestedFunction · 0.85
SetStateFunction · 0.85
OnEndFunction · 0.85
IsRunningFunction · 0.70
StartMethod · 0.45

Tested by

no test coverage detected