| 8 | } |
| 9 | |
| 10 | void _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 | |
| 20 | bool _TaskProcessor::pendingTasks() const |
| 21 | { |
no outgoing calls
no test coverage detected