Closed ricvelozo closed 1 year ago
Looks good. Please note that originally the code duplication (including for notify
) was intentional so the code could be copy pasted into other projects. However, considering that notify
functionality has no use for other projects, it's totally fine to extract it into the common module (like it's done for C++).
New macro
notify!
to simplify use (exported as a crate to be shared), and other minor improvements.