Resolve with Deferred object returned