Type alias MessageListener<T, ContextType>
Message
Listener
<T, ContextType>: ((message
: T, direction
: MessageDirection, context
: ContextType) => void)
Type declaration
-
- (message: T, direction: MessageDirection, context: ContextType): void
-
Parameters
-
message: T
-
-
context: ContextType
Returns void