public class MakePromise extends Procedure1
Modifier and Type | Field and Description |
---|---|
static MakePromise |
makeDelay |
static MakePromise |
makeLazy |
applyToObject
applyMethodType, applyToConsumerDefault, applyToConsumerMethod, applyToObjectDefault, applyToObjectMethod, compilerKey, compilerXKey, inlineIfConstantSymbol, validateApplyKey, validateXApplyKey
nameKey
Constructor and Description |
---|
MakePromise() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
apply1(java.lang.Object thunk) |
static <T> Promise<T> |
makePromise(Procedure thunk) |
static <T> Promise<T> |
makePromiseLazy(Procedure thunk) |
apply0, apply2, apply3, apply4, applyN, applyToObject, numArgs
applyL, applyToConsumerDefault, applyToObjectDefault, checkArgCount, checkBadCode, getApplyMethod, getApplyToConsumerMethod, getApplyToObjectMethod, getReturnType, getSetter, getSourceLocation, isSideEffectFree, lookupApplyHandle, maxArgs, maxArgs, minArgs, minArgs, set0, set1, setN, setSetter, setSourceLocation, toString
getName, getProperty, getSymbol, removeProperty, setName, setProperty, setProperty, setSymbol
public static final MakePromise makeDelay
public static final MakePromise makeLazy