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
92 downloads per month
Used in 9 crates
(4 directly)
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 Observer
s when implementing Observable
can be hard,
this module also contains a ObserverList
where Observer
s can be
attached
, detached
and
notified
.