Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/allain/ceeqers
https://github.com/allain/ceeqers
Last synced: 4 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/allain/ceeqers
- Owner: allain
- Created: 2018-04-28T00:15:54.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-11-15T16:53:27.000Z (about 6 years ago)
- Last Synced: 2024-12-21T02:41:35.968Z (28 days ago)
- Language: TypeScript
- Size: 68.4 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ceeqers
An Event Sourcing library that's appreciates but is not bound to CQRS ideas.
## Dreamcode Usage (not implemented yet)
```ts
const CONFIG = ...import EventStore from 'EventStore'
const es = new EventStore(CONFIG)
const el = new EventListener(es, {type: 'tested'})
const reduction = new EventReducer((result, event) => result + event.payload, '', {id: 'concatenation'})es.store({ type: 'tested', payload: 'A'})
es.store({ type: 'tested', payload: 'B'})```