getAllAsync method

Future<List<T>> getAllAsync()

Like getAll, but runs the box operation asynchronously in a worker isolate.

If you need to call this multiple times consider using the synchronous variant (e.g. getAll) and wrap the calls in Store.runInTransactionAsync. This has typically better performance as only a single worker isolate has to be spawned.

Implementation

Future<List<T>> getAllAsync() =>
    _store.runAsync(_getAllAsyncCallback<T>, null);