baf6824bc4
Also make it return `Result<bool>` instead of `Result<()>` so we can check if the event was sent.
Also make it return `Result<bool>` instead of `Result<()>` so we can check if the event was sent.