Click or drag to resize
DelayedSeriesFromValueLoaderK, V Method (K, K, FSharpFuncTupleK, BoundaryBehavior, FSharpFuncTupleK, BoundaryBehavior, FSharpAsyncIEnumerableKeyValuePairK, V)
An F#-friendly function that creates lazily loaded series. The method requires the overall range of the series (smallest and greatest key) and a function that loads the data. The function is called with two tuples that specify lower and upper boundary. It returns an asynchronous workflow that produces the data. ## Parameters - `min` - The smallest key that should be present in the created series. - `min` - The greatests key that should be present in the created series. - `loader` - A function which returns an asynchronous workflow that loads the data in a specified range. The function is called with two tuples consisting of key and `BoundaryBehavior` values. The keys specify lower and upper boundary and `BoundaryBehavior` values can be either `Inclusive` or `Exclusive`. ## Remarks For more information see the [lazy data loading tutorial](../lazysource.html).

Namespace:  Deedle
Assembly:  Deedle (in Deedle.dll) Version: 1.2
Syntax
C#
public static Series<K, V> FromValueLoader<K, V>(
	K min,
	K max,
	FSharpFunc<Tuple<K, BoundaryBehavior>, FSharpFunc<Tuple<K, BoundaryBehavior>, FSharpAsync<IEnumerable<KeyValuePair<K, V>>>>> loader
)

Parameters

min
Type: K

[Missing <param name="min"/> documentation for "M:Deedle.DelayedSeries.FromValueLoader``2(``0,``0,Microsoft.FSharp.Core.FSharpFunc{System.Tuple{``0,Deedle.Indices.BoundaryBehavior},Microsoft.FSharp.Core.FSharpFunc{System.Tuple{``0,Deedle.Indices.BoundaryBehavior},Microsoft.FSharp.Control.FSharpAsync{System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{``0,``1}}}}})"]

max
Type: K

[Missing <param name="max"/> documentation for "M:Deedle.DelayedSeries.FromValueLoader``2(``0,``0,Microsoft.FSharp.Core.FSharpFunc{System.Tuple{``0,Deedle.Indices.BoundaryBehavior},Microsoft.FSharp.Core.FSharpFunc{System.Tuple{``0,Deedle.Indices.BoundaryBehavior},Microsoft.FSharp.Control.FSharpAsync{System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{``0,``1}}}}})"]

loader
Type: Microsoft.FSharp.CoreFSharpFuncTupleK, BoundaryBehavior, FSharpFuncTupleK, BoundaryBehavior, FSharpAsyncIEnumerableKeyValuePairK, V

[Missing <param name="loader"/> documentation for "M:Deedle.DelayedSeries.FromValueLoader``2(``0,``0,Microsoft.FSharp.Core.FSharpFunc{System.Tuple{``0,Deedle.Indices.BoundaryBehavior},Microsoft.FSharp.Core.FSharpFunc{System.Tuple{``0,Deedle.Indices.BoundaryBehavior},Microsoft.FSharp.Control.FSharpAsync{System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{``0,``1}}}}})"]

Type Parameters

K
V

Return Value

Type: SeriesK, V

[Missing <returns> documentation for "M:Deedle.DelayedSeries.FromValueLoader``2(``0,``0,Microsoft.FSharp.Core.FSharpFunc{System.Tuple{``0,Deedle.Indices.BoundaryBehavior},Microsoft.FSharp.Core.FSharpFunc{System.Tuple{``0,Deedle.Indices.BoundaryBehavior},Microsoft.FSharp.Control.FSharpAsync{System.Collections.Generic.IEnumerable{System.Collections.Generic.KeyValuePair{``0,``1}}}}})"]

See Also