Resolve promise in _enqueue.