Class NotificationSerializerAbstract

Converts a Notification into a Representation that can be transmitted.

This is a separate class between a generator and emitter, so that a specific notification channel type can add extra metadata to the Representation if needed.

Hierarchy (view full)



  • Checks whether the input can be handled by this class. If it cannot handle the input, rejects with an error explaining why.


    Returns Promise<void>

    A promise resolving if the input can be handled, rejecting with an Error if not.