feature: add support for callbacks
Merge pull request #2 from radiohead/master

feature: add support for callbacks