4 releases

0.1.3 Jul 26, 2023
0.1.2 Mar 20, 2022
0.1.1 Oct 22, 2021
0.1.0 Sep 26, 2021

#3 in #tubefeeder

37 downloads per month
Used in 9 crates (4 directly)

GPL-3.0-or-later

12KB
211 lines

Tubefeeder Extractor

This is a part of Tubefeeder Extractor.

This contains the definitions of the classic observer and observable pattern.


lib.rs:

The traits Observable and Observer construct the typical observer-pattern.

The messages parsed in between Observable and Observer is the generic variable T. Because keeping track of all Observers when implementing Observable can be hard, this module also contains a ObserverList where Observers can be attached, detached and notified.

No runtime deps