| 220 | } |
| 221 | |
| 222 | std::pair<const dap::TypeInfo*, GenericEventHandler> event( |
| 223 | const std::string& name) { |
| 224 | std::unique_lock<std::mutex> lock(eventMutex); |
| 225 | auto it = eventMap.find(name); |
| 226 | return (it != eventMap.end()) ? it->second : decltype(it->second){}; |
| 227 | } |
| 228 | |
| 229 | void put(const dap::TypeInfo* typeinfo, |
| 230 | const GenericEventHandler& handler) { |
no test coverage detected