You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
modify variations are a purposeful omission. I consider them a footgun, because on the surface one would assume they are atomic, but really anyone can put to an AVar at any given time. I think it's something that belongs in a higher-level API than AVar for locked resources.
Like MVar.modifyMVar:
modifyAVar :: AVar a -> (a -> Effect (Tuple a b)) -> Effect b
The text was updated successfully, but these errors were encountered: