getManyAsync method

Future<List<T?>> getManyAsync(
  1. List<int> ids, {
  2. bool growableResult = false,
})

Like getMany, 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. getMany) 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?>> getManyAsync(List<int> ids, {bool growableResult = false}) =>
    _store.runAsync(
        _getManyAsyncCallback<T>, _GetManyAsyncArgs(ids, growableResult));