How to turn a processor into an ezmsg Unit?#
To convert a processor to an ezmsg Unit, you can follow these steps:
Define the Processor: Create a class that inherits from the appropriate processor base class (e.g.,
BaseTransformer,BaseStatefulTransformer, etc.).Implement the Processing Logic: Override the necessary methods to implement the processing logic.
Define Input and Output Ports: Use the
ezmsgport system to define input and output ports for the processor.Register the Unit: Use the
ezmsgregistration system to register the processor as anezmsgUnit.
(under construction)