handle_notification(Notif, Data) -> Reply
Types
Reply = send | {send, NewNotif} | dont_sendNotif = NewNotif = notification() | trap()Data = term()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.