How to make blocking, callback, and promises based APIs

A presentation I gave at Nordic Perl Workshop and Mojoconf.