Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
189
void Task::OnFail()
190
{
191
SetState(TaskState::Failed);
192
193
// Send event further
194
if (_continueWith)
195
_continueWith->OnFail();
196
197
OnEnd();
198
}
199
200
void Task::OnCancel()
201
{
Callers
nothing calls this directly
Calls
2
SetState
Function · 0.85
OnEnd
Function · 0.85
Tested by
no test coverage detected