Skip to main content

server-core/message

packages/server/src/message

Purpose

Message-domain service barrel.

Public surface

MessageService

Class
agent/message/send server entry point. The send method persists the message durably, then broadcasts it to every conversation participant, the sender included; only the connection that issued the send is left out, so a sender holding several connections still sees its own message on the others. The router is content-blind: it applies no interpretation or policy to the message body.

messageServiceLive

Variable
Provides the message service live runtime value.

MessageServiceTag

Class
Implements message service tag.

messagesList

Variable
Provides the messages list runtime value. Returns: The messages list result.

messagesSend

Variable
Provides the messages send runtime value. Returns: The messages send result.

Files

  • handlers.ts
  • layer.ts
  • message.service.ts