io.github.positionpal.handler.MessageHandler
A trait for handling messages of various types within an effectful context.
Type parameters
-
F
-
The effect type in which the message handling operation is performed.
Attributes
-
Graph
-
-
Supertypes
-
class Object
trait Matchable
class Any
Members list
Handles a message of a specific type and processes it within the context of the specified effect type.
Handles a message of a specific type and processes it within the context of the specified effect type.
Value parameters
-
message
-
The raw message payload, represented as a ByteString.
-
messageType
-
The type of the message being handled.
Attributes
-
Returns
-
An effectful computation that processes the message and produces a result of type A
.