feature: Add onSuccess, onError hooks
Merge pull request #56 from ajoslin/hook-success

feature: Add onSuccess hook when any operation succeeds