Was this page helpful?

WhenDone Method

    WhenDone(Action<AResult> handler)

    public AResult WhenDone(Action<AResult> handler);
    Register a callback handler that is invoked when the result completes.

    Parameters

    Name Type Description
    handler Action<AResult> Completion callback.

    Returns

    Type: AResult
    The current result instance.

    WhenDone(Action<TResult> completion)

    protected TResult WhenDone(Action<TResult> completion);
    Register a callback for result completion.

    Generic Parameters

    Parameter TResult

    Type of result
    Constraints:

    Parameters

    Name Type Description
    completion Action<TResult> Completion callback.

    Returns

    Type: TResult
    The result instance this method was called on.
    Was this page helpful?
    Tag page
    You must login to post a comment.

    Copyright © 2011 MindTouch, Inc. Powered by