consolidated conditionals for immediate promise resolve.