MCPcopy Index your code
hub / github.com/Doorman11991/smallcode / getMessages

Method getMessages

src/session/multi.js:74–77  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

72
73 // Get messages for the active session
74 getMessages() {
75 const session = this.active();
76 return session ? session.messages : [];
77 }
78
79 // Push a message to the active session
80 pushMessage(msg) {

Callers

nothing calls this directly

Calls 1

activeMethod · 0.95

Tested by

no test coverage detected