Machine
A service role answered by a table: one handler per request message.
A handler receives the request instance and returns the reply instance; the reply's class must be on offer. Binding validates that the table covers exactly the requests the role's endpoint requires.
Attributes
attributehandlersMapping[type[Message], Callable[[Any], Message]]Functions
func__init__(self, handlers) -> NoneparamhandlersMapping[type[Message], Callable[[Any], Message]]Returns
None