Interface MessageHandlers<ReceivedMessageT>
Methods
processError
- processError(err: Error): Promise<void>
-
Parameters
Returns Promise<void>
processMessage
- processMessage(message: ReceivedMessageT): Promise<void>
-
Parameters
-
message: ReceivedMessageT
Returns Promise<void>
The general message handler interface (used for streamMessages).