MCPcopy Create free account
hub / github.com/Codeya-IDE/deepin-ide / event

Method event

3rdparty/cppdap/src/session.cpp:222–227  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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) {

Callers 1

processEventMethod · 0.45

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected