C# Class clojure.lang.Future

Implements IDeref and java.util.concurrent.Future, like the proxy in JVM clojure core.
Inheritance: IDeref, IBlockingDeref, IPending, IDisposable
显示文件 Open project: richhickey/clojure-clr Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void
Future ( IFn fn ) : System
deref ( ) : object
deref ( long ms, object timeoutValue ) : object
isRealized ( ) : bool

Private Methods

Method Description
ComputeFuture ( object state ) : void
Dispose ( bool disposing ) : void
cancel ( ) : bool
isCancelled ( ) : bool
isDone ( ) : bool

Method Details

Dispose() public method

public Dispose ( ) : void
return void

Future() public method

public Future ( IFn fn ) : System
fn IFn
return System

deref() public method

public deref ( ) : object
return object

deref() public method

public deref ( long ms, object timeoutValue ) : object
ms long
timeoutValue object
return object

isRealized() public method

public isRealized ( ) : bool
return bool