Canister events

Thanks for the feedback! Keep it coming :slight_smile:

This was my first thought. But, last time I checked Motoko couldn’t extract the principal from the candid func type. This might not ever be an issue. Happy to use func but I wanted to keep things as future proof as possible. Thoughts?

My intention here was to limit the amount of possible implementation errors by wrapping all actions inside the variant type; Rust forces developers to handle all cases explicitly, and I think Motoko does too? Similar thought process with the PublisherMessage.

Glad you caught my intentions will update, thank you!