countFor static method

int countFor(
  1. Client client,
  2. String uri
)

How many consumers currently hold uri. For tests and diagnostics.

Implementation

static int countFor(Client client, String uri) => _of(client)[uri] ?? 0;