OutboxStore

interface OutboxStore

OutboxStore is responsible for storing and retrieving outbox items.

Functions

deleteCompletedItems
Link copied to clipboard
abstract fun deleteCompletedItems(now: Instant)

Deletes completed outbox items from the store.

fetch
Link copied to clipboard
abstract fun fetch(outboxFilter: OutboxFilter): List<OutboxItem>

Fetches outbox items from the store.

insert
Link copied to clipboard
abstract fun insert(outboxItem: OutboxItem): OutboxItem

Inserts an outbox item into the store.

open fun insert(outboxItem: OutboxItem, hints: OutboxStoreInsertHints): OutboxItem
update
Link copied to clipboard
abstract fun update(outboxItem: OutboxItem): OutboxItem

Updates an outbox item in the store.