registerProcessor

fun registerProcessor(processor: Any)

Registers an event processor.

If the processor is already a MessageFunction, it registers it directly. Otherwise, it resolves the processor into MessageFunction instances and registers them.

Parameters

processor

The processor to register (MessageFunction or annotated class)

See also