MCPcopy Create free account
hub / github.com/boostorg/asio / join

Method join

example/cpp20/coroutines/chat_server.cpp:54–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52{
53public:
54 void join(chat_participant_ptr participant)
55 {
56 participants_.insert(participant);
57 for (auto msg: recent_msgs_)
58 participant->deliver(msg);
59 }
60
61 void leave(chat_participant_ptr participant)
62 {

Callers 1

startMethod · 0.45

Calls 2

insertMethod · 0.80
deliverMethod · 0.45

Tested by

no test coverage detected