supportedFunctions
abstract fun <M : Message<*, Any>, NamedBoundedContext, NamedAggregate> supportedFunctions(message: M): Sequence<F>
Finds all registered functions that support processing the given message.
Queries the registry for functions capable of handling the specified message. The message must implement Message<*, Any>, NamedBoundedContext, and NamedAggregate interfaces. The returned sequence is lazy and may be empty if no functions support the message.
Return
A sequence of functions of type F that can process the message
Parameters
message
The message instance to find supporting functions for, must not be null
Type Parameters
M
The type of the message, constrained by the required interfaces
Throws
if the message is null or does not meet the type constraints