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
When returning leased values to a pool, disposable-pool should provide a way to specify that the idle value should be deallocated if not used before some event occurs. This can be used to keep idle values alive only for a short timeout period, which enables the style of reuse that the http package employs for connections.
When returning leased values to a pool,
disposable-pool
should provide a way to specify that the idle value should be deallocated if not used before some event occurs. This can be used to keep idle values alive only for a short timeout period, which enables the style of reuse that thehttp
package employs for connections.