It should dispatch when `ready` promise resolves.
It should dispatch when
readypromise resolves.