# Event sourcing

**URL:** <https://forums.swift.org/t/event-sourcing/68451>\
**Category:** Distributed Actors\
**Created:** [November 14, 2023, 12:13pm UTC](https://forums.swift.org/t/event-sourcing/68451 "2023-11-14T12:13:27Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![jaleel](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/jaleel/32/45076_2.png) [@jaleel](https://forums.swift.org/u/jaleel)\
**Post date:** [November 14, 2023, 12:16pm UTC](https://forums.swift.org/t/event-sourcing/68451/2 "2023-11-14T12:16:29Z")

</div>

@ktoso  
Also have a question regarding you reply [here](https://forums.swift.org/t/swift-chat-showcase-for-distributed-application/67803/7)

> especially with macros and the flexibility you get from `actorReady` so you can store it and register it for "when events arrive we'll call you"

I'm not sure where macros could be applied here, I guess exactly for `func persist(event:)` logic 🤔  
Also can you eloborate on `actorReady` function? There are no documentation and not sure how it can be used...

---

_[View the full topic](https://forums.swift.org/t/event-sourcing/68451)._
