rootLengthAsync property

Future<int> rootLengthAsync

Retrieve the number of all stored tiles asynchronously

Internally sums up the length of all stores (using StoreStats.storeLengthAsync).

Implementation

Future<int> get rootLengthAsync async =>
    (await Future.wait(storesAvailable.map((e) => e.stats.storeLengthAsync)))
        .sum;