jackfirth / racket-disposable

An experimental Racket library providing an abstraction for values associated with external resources that allows automatic resource pooling, per-thread virtual construction, and monadic composition
Apache License 2.0
7 stars 0 forks source link

Document that leasing blocks when pool is full instead of raising an error #90

Closed jackfirth closed 7 years ago

jackfirth commented 7 years ago

The docs claim that leasing a value from a full pool will raise an error, but actually allocating the lease blocks until a value is available from the pool. The current implementation is the desired behavior. The docs should be updated to reflect this.