@eveble/eveble

Hierarchy

  • EventSourceableRepository

Implemented by

Index

Methods

Methods

find

find(EventSourceableType: EventSourceableType, eventSourceableId: string | Stringifiable): Promise‹EventSourceable | undefined›

Parameters:

NameType
EventSourceableTypeEventSourceableType
eventSourceableIdstring | Stringifiable

Returns: Promise‹EventSourceable | undefined›

find(EventSourceableType: EventSourceableType, eventSourceableId: string | Stringifiable): Promise‹EventSourceable | undefined›

Parameters:

NameType
EventSourceableTypeEventSourceableType
eventSourceableIdstring | Stringifiable

Returns: Promise‹EventSourceable | undefined›


getSnapshotOf

getSnapshotOf(EventSourceableType: EventSourceableType, eventSourceableId: string | Stringifiable): Promise‹EventSourceable | undefined›

Parameters:

NameType
EventSourceableTypeEventSourceableType
eventSourceableIdstring | Stringifiable

Returns: Promise‹EventSourceable | undefined›

getSnapshotOf(EventSourceableType: EventSourceableType, eventSourceableId: string | Stringifiable): Promise‹EventSourceable | undefined›

Parameters:

NameType
EventSourceableTypeEventSourceableType
eventSourceableIdstring | Stringifiable

Returns: Promise‹EventSourceable | undefined›


hasBySourceId

hasBySourceId(eventSourceableId: string | Stringifiable): Promise‹boolean›

Parameters:

NameType
eventSourceableIdstring | Stringifiable

Returns: Promise‹boolean›

hasBySourceId(eventSourceableId: string | Stringifiable): Promise‹boolean›

Parameters:

NameType
eventSourceableIdstring | Stringifiable

Returns: Promise‹boolean›


isSnapshotting

isSnapshotting(): boolean

Returns: boolean

isSnapshotting(): boolean

Returns: boolean


makeSnapshotOf

makeSnapshotOf(eventSourceable: EventSourceable): Promise‹string | undefined›

Parameters:

NameType
eventSourceableEventSourceable

Returns: Promise‹string | undefined›

makeSnapshotOf(eventSourceable: EventSourceable): Promise‹string | undefined›

Parameters:

NameType
eventSourceableEventSourceable

Returns: Promise‹string | undefined›


save

save(eventSourceable: EventSourceable): Promise‹StorageIdentifiers

Parameters:

NameType
eventSourceableEventSourceable

Returns: Promise‹StorageIdentifiers

save(eventSourceable: EventSourceable): Promise‹StorageIdentifiers

Parameters:

NameType
eventSourceableEventSourceable

Returns: Promise‹StorageIdentifiers