Interface RequestCallbackOptions<S, F, SC>

interface RequestCallbackOptions<S, F, SC> {
    failure?: RequestFailure<F>;
    scope?: SC;
    success?: RequestSuccess<S>;
}

Type Parameters

  • S = any
  • F = any
  • SC = any

Hierarchy (view full)

Properties

failure?: RequestFailure<F>

This will be called upon failure to complete a request.

scope?: SC

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

success?: RequestSuccess<S>

This will be called upon successfully completing a request.