Crate rs_obs_signal
source ·Expand description
This crate implements part of the [observer pattern] https://refactoring.guru/design-patterns/observer with variadic template arguments
It uses rust macros and generics in order to create a Signal
object,
that subscribes to a given function or method and is able to notify on demand
Macros
- Macro helper to call inner multi argument subscription with unfolding variadic arguments
- Macro helper to create variadic template argument signal
Structs
- This struct holds a subscription with X arguments of Y types