Protecteddestroy$Emits when EventModels.dispose is called to tear down all models. A ReplaySubject so reset notifiers subscribed after disposal fire immediately.
OptionaleventA method that will be called when an event isn't found in the store
A stream of new events added to the store
Keep deleted events in the store
Keep expired events in the store
Enable this to keep old versions of replaceable events
Optional memory database for ensuring single event instances
How long a model should be kept "warm" while nothing is subscribed to it
A directory of all active models
A stream of events that have been removed
A stream of events that have been updated (Warning: this is a very noisy stream, use with caution)
Allows the store to be used with the using keyword
Subscribe to an addressable event by pointer
Subscribe to a users contacts
Subscribe to an event by pointer
Creates an observable that streams all events that match the filter
Get an event by id from the store
Check if the store has an event by id
Check if the store has a replaceable event
Optionald: stringSubscribe to a users mailboxes
Get or create a model on the event store
Subscribe to a users profile
Removes any event that is not being used by a subscription
Optionallimit: numberSubscribe to a replaceable event by pointer
Subscribe to a replaceable event with legacy arguments
Optionalidentifier: stringCreates a TimelineModel
An AsyncEventStore for unsigned NIP-59 rumors backed by an async event database. On
add, non-deletion rumors are verified by recomputing the event hash and checking it equalsrumor.id(via verifyRumor) instead of checking a signature.verifyEventdefaults to verifyRumor and cannot be supplied through the constructor options (it isOmit-ted), though it remains reassignable via the inheritedverifyEventsetter at runtime.Like the base signed store, kind-5 delete rumors are applied without per-event verification — the rumor store is intended to hold events from an upstream protocol layer that already verifies validity and authorization; the local verifier only guarantees a stored rumor's
idmatches its serialized contents.