tiny-notify
Let one part of your program wait until another has something ready, instead of repeatedly checking for changes.
For example, background work can wake a screen that needs updating, or several parts of an app can wait for the next frame.
Notifywakes one waiting caller.ArcNotifydoes the same when the work runs on another thread.BroadcastNotifywakes several callers waiting for the same change.
Example
Keep the result somewhere shared, then notify the code waiting to use it.
use RefCell;
use ;
use Notify;
A notification only says that something may need attention. It does not carry the result or count how many changes happened.