Purpose:

Provide an option to send notification when a indicated function is triggered.

Example:

Example code: