MCPcopy
hub / github.com/Doorman11991/smallcode / pushMessage

Method pushMessage

src/session/multi.js:80–83  ·  view source on GitHub ↗
(msg)

Source from the content-addressed store, hash-verified

78
79 // Push a message to the active session
80 pushMessage(msg) {
81 const session = this.active();
82 if (session) session.messages.push(msg);
83 }
84
85 // Get session count
86 count() {

Callers

nothing calls this directly

Calls 1

activeMethod · 0.95

Tested by

no test coverage detected