GNU Smalltalk Library Reference: Promise-accessing

Next: , Previous: , Up: Promise [Index]


1.138.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.

AltStyle によって変換されたページ (->オリジナル) /