Results for “Std.Sync.withLock”
1 matching declarations
Use module:Std.List, kind:fn, or is:exact. Put a Pudu type after ::.
- Std.Sync.withLock
&Std.Sync.Mutex -> fn() -> T -> Result[T, Std.Sync.SyncError]Run an action with a lock held, and release it after the action returns.
