waiters property

int waiters
inherited

Number of futures which are currently waiting to acquire this semaphore.

This is the length of the waiting queue.

Implementation

int get waiters => _waiters.length;