done property Null safety
A future that completes once the pool is closed and all its outstanding resources have been released.
If any PoolResource.allowRelease callback throws an exception after the pool is closed, this completes with that exception.
Implementation
Future get done => _closeMemo.future;