Stephen R. van den Berg wrote:
I now have an API that works roughly like this:
The API has since reached beta-stage and is now included in Pike 8.1 (it has a synchronous, a callback *and* a promise interface). Documentation is a little bit skimpy at the moment. But a working minimal example is included in the docs.
Suggestions are still appreciated.