Sharing a notification function instead of a notification queue