kandu / async_pool

resource pools

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

async_pool

This library mimics the Lwt_pool module of the Lwt library. It brings a really good part of Lwt to the async world.

However, the APIs of the two are not identical.

The async version is simplified(the check callback of the create function, it reuses the validate callback, so users don't have to provide validate/check functions twice)

The functionality is also extended(idle resources can be cleared after user-specified time).

About

resource pools

License:MIT License


Languages

Language:OCaml 97.6%Language:Makefile 2.4%