Crate rs_obs_signal

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§

notify
Macro helper to call inner multi argument subscription with unfolding variadic arguments
signal
Macro helper to create variadic template argument signal

Structs§

Signal
This struct holds a subscription with X arguments of Y types