\apex\app\interfaces\msgListenerInterface

Mapper from an event to the listeners that are applicable to that event.

Summary

Methods
Constants
getListenersForEvent()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

getListenersForEvent()

getListenersForEvent(\apex\app\interfaces\msg\EventMessageInterface  $event): \apex\app\interfaces\msg\iterable[callable]

An event for which to return the relevant listeners.

Parameters

\apex\app\interfaces\msg\EventMessageInterface $event

The event message object to get listners for.

Returns

\apex\app\interfaces\msg\iterable[callable] —

An iterable (array, iterator, or generator) of callables. Each callable MUST be type-compatible with $event.