Use numbers for promise state