Text type promise resolve