ollie/cmd
Levi Neely 794673a5d0 virtfs: refactor BlockOnce to accept (readFn, signalFn)
BlockOnce now takes a value-reader and a signal source. The framework
handles the blocking loop: read → compare hash to base → if different
return → else wait on signal or timeout.

On timeout (ctx.Done), returns empty (not error) so clients re-open
cleanly.

BlockOnceRaw retained for queue-style handlers (bypass/pending,
proc/wait) that manage their own blocking.

EventValue adapter wraps a <-chan Event into BlockOnce-compatible
(readFn, signalFn) pair via a thin goroutine.
2026-08-13 20:44:50 +02:00
..
ollie-9p ollie-9p: stream all reads instead of buffering until EOF 2026-08-07 09:13:25 +02:00
olliesrv virtfs: refactor BlockOnce to accept (readFn, signalFn) 2026-08-13 20:44:50 +02:00
toolsrv virtfs: refactor BlockOnce to accept (readFn, signalFn) 2026-08-13 20:44:50 +02:00