Arcana::Events::Backend
Abstract base. Implementations decide where events land.
Instance methods
query(since : Time | Nil = nil, type : String | Nil = nil, subject : String | Nil = nil, limit : Int32 = 100) : Array(Event)
Query stored events. Filters are AND-combined.
record(event : Event) : Nil
Record an event. Should not block on I/O — implementations may queue asynchronously and return immediately.