LockIsolated
A generic wrapper for isolating a mutable value with a lock.
@dynamicMemberLookup final class LockIsolated<Value>
If you trust the sendability of the underlying value, consider using UncheckedSendable
, instead.
A generic wrapper for isolating a mutable value with a lock.
@dynamicMemberLookup final class LockIsolated<Value>
If you trust the sendability of the underlying value, consider using UncheckedSendable
, instead.