Remote / API

foldkit-remote/outbox

foldkit-remote/outbox: durable writes (Data.mutate's durable) kept across a reload and sent in order by one tab (#247). An entry of its own (#378), so a page with no outbox keeps none of its store, locks or sending.

Functions

outboxKeeps a domain's durable writes (mutate's durable) across a reload and sends them, as a wiring beside Data.wiring: the queue is written to key before a…
outboxStatusThe durable writes a domain has not yet settled, every tab's, in the order the outbox sends them: how many wait, how many the server refused, and each one's…

Values

Interfaces

OutboxDomainWhat outbox and outboxStatus use of a domain: Remote.make's value is one.
OutboxItemOne item of outboxStatus.
OutboxOptionsHow outbox keeps durable writes across a reload.
OutboxStatusWhat the outbox holds, for a view: "3 changes waiting".
OutboxWiringoutbox's wiring, and the restore its runtime's init starts from.
RetryOptionsHow long the outbox waits before sending again after attempt sends nothing answered.