Stateful.Concurrent_poolCreates an empty pool. Pools are tied to a test case. Do not reuse one across test cases. Drawn mutable values are shared by default. Pass a copying function for independent mutable values. Consumed draws return the stored value directly. clone must not call back into the same pool.
val size : _ t -> intReturns the number of values in the pool.
val to_list : 'a t -> 'a listReturns the values in the pool, in no particular order, each passed through the pool's clone function.
val values_reusable : 'a t -> ('a, Generators.unprintable) Generators.generatorDraws a value without removing it. A draw from an empty pool rejects the current rule, or the test case when drawn outside a rule.
val values_consumed : 'a t -> ('a, Generators.unprintable) Generators.generatorDraws and removes a value. A draw from an empty pool rejects the current rule, or the test case when drawn outside a rule. Filtering this generator removes only the value it returns.