Module Shared.UncontendedSource
Source
type ('a, 'k) t = ('a, 'k) inner = #{data : ('a Basement.Modes.shared, 'k) Data.t;password : 'k Capsule_prim__.Prim.Password.Shared.t;
}Like 'a Scoped.Shared.t, but allows read-only computations to return an uncontended result in the current capsule.
with_ a ~f calls f with a local forkable Scoped.Shared.Uncontended.t representing local read-only access to a, which is readable in the current capsule.
The result of f is a Capsule.Data.Shared.t, which can be unwrapped in the current capsule.