specifySecondaryError<TQuery extends AFAsyncQuery> method

void specifySecondaryError<TQuery extends AFAsyncQuery>(
  1. dynamic querySpecifier,
  2. dynamic error
)

Implementation

void specifySecondaryError<TQuery extends AFAsyncQuery>(dynamic querySpecifier, dynamic error) {
  registerResult<TQuery>(querySpecifier, (context, query) {
    query.testFinishAsyncWithError(context, error);
    return null;
  });
}