pending property

int get pending

How many requests are still waiting for a response.

Implementation

int get pending => _pending.where((c) => !c.isCompleted).length;