Skip to main content

Module state_delta

Module state_delta 

Source
Expand description

Scoped writes for legacy worker state changes during logical adoption.

Constantsยง

WORKER_SECTIONS ๐Ÿ”’

Functionsยง

apply_worker_delta
Persists only rows changed by one worker tick. An unrelated account, receipt, or delivery written after the worker read its snapshot is never rewritten.
merge_scoped_worker_cache
Reconciles a scoped worker result into a local JSON read cache without replacing unrelated app sections or treating the cache as database authority.
transient_worker_field ๐Ÿ”’
Excludes delivery credentials and display aliases from the derived cache.