Make the falkor API more promise-like