MCPcopy Create free account
hub / github.com/WarmUpTill/SceneSwitcher / AppendMessage

Method AppendMessage

lib/utils/message-buffer.hpp:32–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30}
31
32template<class T> inline void MessageBuffer<T>::AppendMessage(const T &message)
33{
34 std::lock_guard<std::mutex> lock(_mutex);
35 _buffer.emplace_back(message);
36}
37
38template<class T> inline std::optional<T> MessageBuffer<T>::ConsumeMessage()
39{

Callers 1

DispatchMessageMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected