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

See if disposables are compatible with http package's connection pools #4

Closed jackfirth closed 7 years ago

jackfirth commented 7 years ago

If this package lives up to it's ideals, then it should be possible to implement http connection pools by simply wrapping http connections in a disposable, and use generic operations on disposables to implement the pool transparently.

jackfirth commented 7 years ago

This should be possible now by combining the following:

Only thing missing is automagic timeout logic, which might belong in transient.