Creates the store; the file is read on first use.
The store file.
Stores entry durably and returns it with its entryId.
The entry.
The stored entry.
Waits for the operations in flight and drops the cached state; a later call reads again.
Changes the state of an entry durably; sent deletes it.
The entry.
The new state.
OptionalproblemCode: stringThe problem code of a failed entry.
The durable outbox store: one JSON file of mode
0600, usually<state_dir>/outbox.json.Its directory is created with mode
0700when missing. Every change writes a temporary file of mode0600next to it, flushes it to disk, renames it over the store and flushes the directory, soaddreturns only after the entry survives a crash. An existing file must be a regular file (no symbolic link) without group or other permissions. Operations run one after another; one process uses one store file.Example