enqueueResponse method

  1. @override
void enqueueResponse(
  1. WorkResponse response
)
override

Adds response to the queue. These will be returned from performRequest in the order they are added, otherwise it will throw if the queue is empty.

Implementation

@override
void enqueueResponse(WorkResponse response) {
  _responses.addLast(response);
}