Skip to content

Commit

Permalink
Merge pull request #82 from haskell/bgamari-patch-1
Browse files Browse the repository at this point in the history
TBQueue: Add @SInCE on capacityTBQueue
  • Loading branch information
bgamari authored Mar 24, 2024
2 parents 225162f + d700635 commit 5a162fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Control/Concurrent/STM/TBQueue.hs
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,6 @@ isFullTBQueue (TBQueue rsize _read wsize _write _size) = do

-- | The maximum number of elements the queue can hold.
--
-- @since TODO
-- @since 2.5.2.0
capacityTBQueue :: TBQueue a -> Natural
capacityTBQueue (TBQueue _ _ _ _ cap) = fromIntegral cap

0 comments on commit 5a162fa

Please sign in to comment.