Method AgentConversationAdvanced
- Namespace
- MailFathom.Application.Signals
- Assembly
- MailFathom.Application.dll
AgentConversationAdvanced(UserId, AgentConversationId, AgentMessageId?, long)
States that an Agent conversation has had more written into it, and how far it has got.
public static ClientSignal AgentConversationAdvanced(UserId user, AgentConversationId conversation, AgentMessageId? run, long sequence)
Parameters
userUserIdWhose conversation it is, which is whose connections are told — a second screen of the same person as much as the one that wrote.
conversationAgentConversationIdThe conversation that advanced, which is what the client re-reads.
runAgentMessageId?The answer being composed where the advance belongs to one, and null where it belongs to none — a proposal being answered.
sequencelongThe place the conversation has reached, which is the cursor a client already past reads nothing from.
Returns
- ClientSignal
The signal.
Remarks
The same kind a Discover run raises rather than one of its own, because ADR 0032 admitted exactly one kind for a running answer on either surface. It carries identifiers and a number, and no part of what was written: no question, no block, no status line, no title.
Exceptions
- ArgumentOutOfRangeException
Thrown when
sequenceis not positive, a conversation having reached nothing being no advance.