MCPcopy Create free account
hub / github.com/chrxh/alien / executeTask

Method executeTask

source/PersisterInterface/TaskProcessor.cpp:10–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8}
9
10void _TaskProcessor::executeTask(
11 std::function<PersisterRequestId(SenderId const&)> const& requestFunc,
12 std::function<void(PersisterRequestId const&)> const& finishFunc,
13 std::function<void(std::vector<PersisterErrorInfo> const&)> const& errorFunc)
14{
15 _pendingRequestIds.emplace_back(requestFunc(SenderId{_senderId}));
16 _finishFunc = finishFunc;
17 _errorFunc = errorFunc;
18}
19
20bool _TaskProcessor::pendingTasks() const
21{

Callers 13

refreshInternMethod · 0.80
onToggleLikeMethod · 0.80
onDownloadMethod · 0.80
onUploadMethod · 0.80
onReplaceMethod · 0.80
onDeleteMethod · 0.80
onEditMethod · 0.80
onMoveMethod · 0.80
onLoginMethod · 0.80
onOpenSimulationMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected