mirror of
https://github.com/therootcompany/golib.git
synced 2026-11-04 06:55:00 +00:00
New package providing a typed Set/View/Fetcher abstraction over atomic.Pointer[T] for periodically refreshed in-memory datasets. Loaders take ctx and return (*T, error) so callers can cancel slow refreshes; close-on-swap hooks let typed views release resources deterministically. Includes Tick (with onError callback, no stderr side-effects) and a PollFiles fetcher for local-file sources.
4 lines
63 B
Modula-2
4 lines
63 B
Modula-2
module github.com/therootcompany/golib/sync/dataset
|
|
|
|
go 1.26.0
|