How to make blocking/non-blocking/promises based APIs
- By
- Jan Henning Thorsen (batman) from Milton Keynes.pm
- Date:
- Friday, 7 September 2018 14:15
- Duration:
- 45 minutes
- Target audience:
- Any
- Language:
- English
Abstract
How do you go about to make a module that should provide both a blocking, non-blocking and a promises based API? In Mojolicious we have different naming conventions for the API, but how can you implement the internals, with minimum effort? This talk will take some examples from the new (experimental) module Mojo::Redis and show how you can make your own module.
You can find more information on the speaker's site: