CrossClj

1.9.0 docs

SourceDocs



RECENT
    VARS
    ICancellable
    IPromise
    IPromiseFactory
    IScheduler
    IState

    « Index of all namespaces of this project

    A generic promise abstraction and related protocols.
    
    protocol
    A cancellation abstraction.
    
    protocol
    A basic future abstraction.
    
    (-bind _ callback)
    Chain a promise.
    
    (-catch _ callback)
    Catch a error in a promise.
    
    (-map _ callback)
    Chain a promise.
    
    protocol
    A promise constructor abstraction.
    
    (-promise _)
    Create a promise instance.
    
    protocol
    A generic abstraction for scheduler facilities.
    
    (-schedule _ ms func)
    Schedule a function to be executed in future.
    
    protocol
    Additional state/introspection abstraction.
    
    (-extract _)
    Extract the current value.
    
    (-pending? _)
    Retutns true if a promise is pending.
    
    (-rejected? _)
    Returns true if a promise is rejected.
    
    (-resolved? _)
    Returns true if a promise is resolved.