handle_notification(Notif, Data) -> Reply
Types
Handle a notification to be sent. The filter can either accept the notification as is, return send
, modify the notification, return {send, NewNotif}
or suppress the notification, return dont_send
.
Data
is supplied at filter registration time, see register_notification_filter
.