onMessages(Subscribe to conversation updates from the actor’slistener): () =>void
MessageLog. A
snapshot replaces the local log; appended adds the new messages. Returns
an unsubscribe function.
Parameters
Returns
() =>
void
The Message Stream
Each item is one of the agent’s stored messages. The client types the itemsunknown. Every message the agent adds to this.messages arrives in appended.
A listener added after the first snapshot is called at once with the current log, as a snapshot.