Check if Promise is rejected (completed with error)
| 150 | |
| 151 | /// Check if Promise is rejected (completed with error) |
| 152 | bool is_rejected() const FL_NOEXCEPT { |
| 153 | if (!valid()) return false; |
| 154 | return mImpl->is_rejected(); |
| 155 | } |
| 156 | |
| 157 | /// Get the result value (only valid if is_resolved() returns true) |
| 158 | const T& value() const FL_NOEXCEPT { |
no outgoing calls
no test coverage detected