MCPcopy Create free account
hub / github.com/ClassicOldSong/Apollo / state

Function state

src/stream.cpp:1947–1949  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1945 std::atomic_uint running_sessions;
1946
1947 state_e state(session_t &session) {
1948 return session.state.load(std::memory_order_relaxed);
1949 }
1950
1951 inline bool send(session_t& session, const std::string_view &payload) {
1952 return session.broadcast_ref->control_server.send(payload, session.control.peer);

Callers 1

clearMethod · 0.85

Calls 1

loadMethod · 0.80

Tested by

no test coverage detected