Show a Toast message. Some system may not show Toast in background, or need to grant notification permission to show Toast.
Note! Multiple Toast will be queued, even if the script is terminated, Toast may still be shown.
"nodejs" const { showToast } = require('toast'); showToast('Hello world!');
Toast text
Toast duration, default is short. Different system may have different specific duration for 'short' and 'long'.
Show a Toast message. Some system may not show Toast in background, or need to grant notification permission to show Toast.