Crates.io | generic-db-observer |
lib.rs | generic-db-observer |
version | 0.3.1 |
source | src |
created_at | 2024-03-15 21:51:35.253829 |
updated_at | 2024-03-22 19:04:32.904268 |
description | A generic observer that monitors a database for changes and triggers a change in some Event Subject. |
homepage | https://gitlab.com/winterberry/generic-db-observer |
repository | https://gitlab.com/winterberry/generic-db-observer |
max_upload_size | |
id | 1175188 |
size | 19,661 |
A generic observer that monitors a database for changes (currently only Redis is supported) and then triggers a change in some Event Subject.
To create a program based on this library, you need to implement EventSubject
, and then run the function ObserverConfig::run_observer
.