finishAsyncWithResponse method

  1. @override
void finishAsyncWithResponse(
  1. AFFinishQuerySuccessContext<AFUnused> context
)
override

Calls the more appropriate finishAsyncExecute when the delay associated with this query has expired.

Implementation

@override
void finishAsyncWithResponse(AFFinishQuerySuccessContext<AFUnused> context) {
  keepGoing = finishAsyncExecute(context);
  if(!keepGoing) {
    context.dispatch(AFShutdownPeriodicQueryAction(this.key));
  }
}