BigHugger
sk Skill · maxrave-dev

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.

installs 8w
0
30-day movement
starts with the next reading
Related entries
1
Connections
0
kotlin
Host repository
maxrave-dev/kotlin-footguns
Host stars
578