Daniel Nephin
6fa36e3aee
state: Move change processing out of EventPublisher
...
EventPublisher was receiving TopicHandlers, which had a couple of
problems:
- ChangeProcessors were being grouped by Topic, but they completely
ignored the topic and were performed on every change
- ChangeProcessors required EventPublisher to be aware of database
changes
By moving ChangeProcesors out of EventPublisher, and having Publish
accept events instead of changes, EventPublisher no longer needs to
be aware of these things.
Handlers is now only SnapshotHandlers, which are still mapped by Topic.
Also allows us to remove the small 'db' package that had only two types.
They can now be unexported types in state.
2020-07-14 15:57:47 -04:00
..
2020-02-06 15:30:58 +01:00
2020-07-08 11:05:44 -04:00
2020-07-08 11:05:44 -04:00
2020-06-15 11:01:25 -04:00
2020-06-30 09:59:07 -04:00
2020-06-16 13:21:11 -04:00
2020-06-19 16:38:14 -04:00
2020-06-24 13:00:15 -04:00
2020-07-14 15:57:47 -04:00
2018-11-02 12:00:39 -05:00
2020-06-17 16:49:46 -04:00
2020-06-16 13:10:11 -04:00
2020-06-04 14:50:52 +02:00
2020-07-08 11:05:44 -04:00
2020-06-24 13:00:14 -04:00
2020-06-16 13:21:11 -04:00
2020-06-24 17:09:50 -04:00
2020-07-02 17:05:46 -04:00
2020-07-14 09:53:55 -04:00
2020-07-13 15:44:44 -05:00
2020-05-28 11:59:58 -04:00
2019-10-29 11:13:36 -07:00
2020-06-16 13:21:11 -04:00
2020-07-03 17:00:20 -04:00
2020-07-03 17:00:20 -04:00
2020-07-03 17:00:20 -04:00
2020-07-02 17:21:12 -04:00
2020-06-24 13:00:14 -04:00
2020-04-28 09:42:46 -04:00
2020-06-30 15:23:29 -04:00
2020-07-09 17:42:33 -04:00
2020-05-28 14:39:37 -04:00
2020-07-10 13:01:45 -06:00
2020-06-15 11:01:25 -04:00
2019-12-09 21:26:41 -05:00
2020-04-20 09:02:35 -05:00
2020-06-05 14:54:29 -07:00
2020-06-15 11:01:25 -04:00
2020-03-31 16:13:44 -04:00
2019-11-21 17:40:29 +00:00
2020-05-19 16:50:14 -04:00
2019-10-29 11:13:36 -07:00
2020-05-29 14:19:16 -04:00
2020-05-29 14:19:16 -04:00
2020-06-16 13:21:11 -04:00
2020-06-15 11:01:25 -04:00
2020-06-24 16:35:23 -05:00
2020-07-01 01:51:16 +01:00
2020-07-01 03:41:44 +01:00
2019-05-01 11:11:27 -04:00
2020-06-16 13:21:11 -04:00
2020-01-28 17:50:41 -06:00
2020-03-09 15:59:02 -05:00
2020-06-16 13:21:11 -04:00
2020-06-15 11:01:25 -04:00
2020-06-24 13:00:14 -04:00
2020-07-02 17:21:12 -04:00
2020-06-26 16:59:15 -05:00
2020-06-26 16:59:15 -05:00
2020-07-09 16:42:19 -04:00
2020-07-09 17:42:33 -04:00
2020-06-26 16:59:15 -05:00
2020-06-26 16:59:15 -05:00
2020-06-26 16:59:15 -05:00
2020-03-31 17:14:55 -04:00
2020-02-13 20:35:09 +01:00
2020-05-19 16:50:14 -04:00
2020-03-09 11:13:40 +01:00
2018-08-02 14:54:48 +01:00
2018-08-02 14:54:48 +01:00
2020-03-31 16:13:44 -04:00
2019-10-29 11:13:36 -07:00
2020-06-16 13:21:11 -04:00
2020-07-01 03:41:44 +01:00
2020-03-31 16:13:44 -04:00
2020-01-28 17:50:41 -06:00
2020-03-09 15:59:02 -05:00
2020-03-09 15:59:02 -05:00
2020-03-31 16:13:44 -04:00
2020-03-31 17:14:55 -04:00
2020-06-16 12:15:57 -04:00
2020-06-16 13:10:11 -04:00
2020-03-05 15:34:55 -05:00
2020-06-16 13:21:11 -04:00
2020-06-16 13:21:11 -04:00
2018-10-02 15:57:21 -05:00
2018-10-02 15:57:21 -05:00
2020-03-31 16:13:44 -04:00
2020-04-13 12:32:57 -04:00
2020-03-31 16:13:44 -04:00
2019-07-25 14:26:22 -04:00
2020-07-02 17:21:12 -04:00
2020-01-24 09:27:25 -05:00
2020-03-31 16:13:44 -04:00
2020-03-09 11:13:40 +01:00
2020-07-02 17:21:12 -04:00
2020-06-24 16:35:23 -05:00
2020-03-31 16:13:44 -04:00
2020-02-07 15:50:24 -06:00
2020-06-16 13:10:11 -04:00
2020-02-07 15:50:24 -06:00
2020-01-28 17:50:41 -06:00
2020-01-28 17:50:41 -06:00