Dual Mode Persist Blocking Or Async

One suspend persistence body driven two ways — blocking on the shutdown path, where the write must complete before the scope dies, and fire-and-forget on periodic ticks — instead of two copies that drift apart. Use when saved state is correct while the app runs but wrong after a hard quit, when a teardown save silently does nothing, or when two save functions have grown different guards.

maxrave-dev f3a87e7 6.3 KB Updated

File contents

maxrave-dev/kotlin-footguns/tree/main/skills/dual-mode-persist-blocking-or-async commit f3a87e7f0c

Frequently asked questions

npx skillmds@latest add maxrave-dev/dual-mode-persist-blocking-or-async