Next:
Promise-initializing
, Previous:
Promise class-creating instances
, Up:
Promise
1.134.2 Promise: accessing
hasError
Answer whether calling #value will raise an exception.
hasValue
Answer whether we already have a value (or calling #value will raise an error).
value
Get the value of the receiver.
value: anObject
Set the value of the receiver.