Useful methods for the realtime API

Also, make success() blocks be async when fetching a result from the
cache