unmapped<K extends Object, V> static method
DataLoader<K, V, K>
unmapped<K extends Object, V>(
- BatchLoadFn<
K, V> _batchLoadFn, [ - DataLoaderOptions<
K, V, K> ? options
Constructs a DataLoader where the
item key K
is equal to the cache key
Implementation
static DataLoader<K, V, K> unmapped<K extends Object, V>(
BatchLoadFn<K, V> _batchLoadFn, [
DataLoaderOptions<K, V, K>? options,
]) =>
DataLoader(_batchLoadFn, options);