Interface IOnTrueOptions

interface IOnTrueOptions {
    errorArguments?: any[];
    failure?: RequestFailure<any>;
    maxTests?: number;
    scope?: any;
    success?: RequestSuccess<any>;
    successArguments?: any[];
    testArguments?: any[];
    testCallback: Function;
}

Hierarchy (view full)

Properties

errorArguments?: any[]
failure?: RequestFailure<any>

This will be called upon failure to complete a request.

maxTests?: number
scope?: any

A scoping object for the success and failure callback functions (default to this).

success?: RequestSuccess<any>

This will be called upon successfully completing a request.

successArguments?: any[]
testArguments?: any[]
testCallback: Function