java.lang.Object
kawa.lang.Promise
public class Promise
extends java.lang.Object
implements Printable
Promise(Procedure thunk)
Object
force()
void
print(Consumer out)
public Promise(Procedure thunk)
Create a new Promise that will evaluate thunk when forced.
public Object force() throws Throwable
public void print(Consumer out)
Specified by:print in interface Printable