The offer that chooses exactly one of the given offers.
The offer that chooses exactly one of the given offers. If there are any Offers that are synchronizable immediately, one is chosen at random.
A constant offer: synchronizes the given value always.
A constant offer: synchronizes the given value always. This is
call-by-name and a new value is produced for each prepare()
.
Note: Updates here must also be done at com.twitter.concurrent.Offers.newConstOffer().
An offer that never synchronizes.
The offer that chooses exactly one of the given offers.
The offer that chooses exactly one of the given offers. If there are any Offers that are synchronizable immediately, the first available in the sequence is selected.
Offer.choose()
and synchronize it.
An offer that is available after the given time out.
Note: There is a Java-friendly API for this object: com.twitter.concurrent.Offers.