Promise plugin for Rapi