Skip to content

RanvierExtensions

[<AbstractClass>]
type RanvierExtensions =
    static member Select<'T, 'U> (source: StreamMemo<'T>, selector: Func<'T,'U>) : Memo<'U>
    static member Select<'T, 'U> (source: AsyncSource<'T>, selector: Func<'T,'U>) : Memo<'U>
    static member Select<'T, 'U> (source: AsyncMemo<'T>, selector: Func<'T,'U>) : Memo<'U>
    static member Select<'T, 'U> (source: Memo<'T>, selector: Func<'T,'U>) : Memo<'U>
    static member Select<'T, 'U> (source: Signal<'T>, selector: Func<'T,'U>) : Memo<'U>
    static member SelectMany<'K, 'T> (source: StreamMemo<'K>, selector: Func<'K,CancellationToken,StreamSource<'T>>) : StreamMemo<'T>
    static member SelectMany<'T, 'U> (source: AsyncSource<'T>, selector: Func<'T,CancellationToken,Task<'U>>) : AsyncMemo<'U>
    static member SelectMany<'T, 'U> (source: AsyncMemo<'T>, selector: Func<'T,CancellationToken,Task<'U>>, policy: FlightPolicy) : AsyncMemo<'U>
    static member SelectMany<'T, 'U> (source: AsyncMemo<'T>, selector: Func<'T,CancellationToken,Task<'U>>) : AsyncMemo<'U>
    static member SelectMany<'T, 'U, 'R> (source: Memo<'T>, collectionSelector: Func<'T,Memo<'U>>, resultSelector: Func<'T,'U,'R>) : Memo<'R>
    static member SelectMany<'T, 'U> (source: Memo<'T>, selector: Func<'T,Memo<'U>>) : Memo<'U>
    static member SelectMany<'T, 'U, 'R> (source: Signal<'T>, collectionSelector: Func<'T,Memo<'U>>, resultSelector: Func<'T,'U,'R>) : Memo<'R>
    static member SelectMany<'T, 'U> (source: Signal<'T>, selector: Func<'T,Memo<'U>>) : Memo<'U>
    static member SelectManyFold<'K, 'S, 'T> (source: StreamMemo<'K>, seed: 'S, fold: Func<'S,'T,'S>, start: Func<'K,CancellationToken,StreamSource<'T>>) : StreamMemo<'S>
    static member Zip<'A, 'B, 'C> (first: StreamMemo<'A>, second: StreamMemo<'B>, resultSelector: Func<'A,'B,'C>) : Memo<'C>
    static member Zip<'A, 'B> (first: StreamMemo<'A>, second: StreamMemo<'B>) : Memo<struct ('A * 'B)>
    static member Zip<'A, 'B, 'C> (first: AsyncSource<'A>, second: AsyncSource<'B>, resultSelector: Func<'A,'B,'C>) : Memo<'C>
    static member Zip<'A, 'B> (first: AsyncSource<'A>, second: AsyncSource<'B>) : Memo<struct ('A * 'B)>
    static member Zip<'A, 'B, 'C> (first: AsyncMemo<'A>, second: AsyncMemo<'B>, resultSelector: Func<'A,'B,'C>) : Memo<'C>
    static member Zip<'A, 'B> (first: AsyncMemo<'A>, second: AsyncMemo<'B>) : Memo<struct ('A * 'B)>
    static member Zip<'A, 'B, 'C> (first: Memo<'A>, second: Memo<'B>, resultSelector: Func<'A,'B,'C>) : Memo<'C>
    static member Zip<'A, 'B> (first: Memo<'A>, second: Memo<'B>) : Memo<struct ('A * 'B)>
    static member Zip<'A, 'B, 'C> (first: Signal<'A>, second: Signal<'B>, resultSelector: Func<'A,'B,'C>) : Memo<'C>
    static member Zip<'A, 'B> (first: Signal<'A>, second: Signal<'B>) : Memo<struct ('A * 'B)>
AssemblyRanvier.CSharp
Attributes[<Extension>] [<AbstractClass>] [<Sealed>]

LINQ-compatible reactive combinators (Select, Zip, SelectMany, and SelectManyFold) over signals, memos, async values, and streams.

Each operator resolves the source node's graph directly and attaches to the enclosing scope on that graph's thread. Dependency tracking is closed inside mapping and projection callbacks.

Extension members

static member Select<'T, 'U> (source: StreamMemo<'T>, selector: Func<'T,'U>) : Memo<'U>

A pure memo computing selector(source.Value) once source publishes, with dependency tracking closed inside selector.

Raises
System.ArgumentNullExceptionsource or selector is null.
System.InvalidOperationExceptionCalled inside a pure body or off the graph's thread.
static member Select<'T, 'U> (source: AsyncSource<'T>, selector: Func<'T,'U>) : Memo<'U>

A pure memo computing selector(source.Value) once source settles, with dependency tracking closed inside selector.

Raises
System.ArgumentNullExceptionsource or selector is null.
System.InvalidOperationExceptionCalled inside a pure body or off the graph's thread.
static member Select<'T, 'U> (source: AsyncMemo<'T>, selector: Func<'T,'U>) : Memo<'U>

A pure memo computing selector(source.Value) once source settles, with dependency tracking closed inside selector.

Raises
System.ArgumentNullExceptionsource or selector is null.
System.InvalidOperationExceptionCalled inside a pure body or off the graph's thread.
static member Select<'T, 'U> (source: Memo<'T>, selector: Func<'T,'U>) : Memo<'U>

A pure memo computing selector(source.Value) once source is ready, with dependency tracking closed inside selector.

Unobserved linear Select chains sharing an Owner fuse in untraced unjournaled builds.

Raises
System.ArgumentNullExceptionsource or selector is null.
System.InvalidOperationExceptionCalled inside a pure body or off the graph's thread.
static member Select<'T, 'U> (source: Signal<'T>, selector: Func<'T,'U>) : Memo<'U>

A pure memo computing selector(source.Value) with dependency tracking closed inside selector.

Raises
System.ArgumentNullExceptionsource or selector is null.
System.InvalidOperationExceptionCalled inside a pure body or off the graph's thread.
static member SelectMany<'K, 'T> (source: StreamMemo<'K>, selector: Func<'K,CancellationToken,StreamSource<'T>>) : StreamMemo<'T>

Connects to the StreamSource returned by selector(k, token) whenever source publishes an unequal key k.

Raises
System.ArgumentNullExceptionsource or selector is null.
System.InvalidOperationExceptionCalled inside a pure body or off the graph's thread.
static member SelectMany<'T, 'U> (source: AsyncSource<'T>, selector: Func<'T,CancellationToken,Task<'U>>) : AsyncMemo<'U>

Starts an untracked flight selector(x, token) whenever source settles on an unequal value x, using the graph's flight policy.

Raises
System.ArgumentNullExceptionsource or selector is null.
System.InvalidOperationExceptionCalled inside a pure body or off the graph's thread.
static member SelectMany<'T, 'U> (source: AsyncMemo<'T>, selector: Func<'T,CancellationToken,Task<'U>>, policy: FlightPolicy) : AsyncMemo<'U>

Starts an untracked flight selector(x, token) whenever source settles on an unequal value x, managing overlapping flights under policy.

Raises
System.ArgumentNullExceptionsource or selector is null.
System.InvalidOperationExceptionCalled inside a pure body or off the graph's thread.
static member SelectMany<'T, 'U> (source: AsyncMemo<'T>, selector: Func<'T,CancellationToken,Task<'U>>) : AsyncMemo<'U>

Starts an untracked flight selector(x, token) whenever source settles on an unequal value x, using the graph's flight policy.

Raises
System.ArgumentNullExceptionsource or selector is null.
System.InvalidOperationExceptionCalled inside a pure body or off the graph's thread.
static member SelectMany<'T, 'U, 'R> (source: Memo<'T>, collectionSelector: Func<'T,Memo<'U>>, resultSelector: Func<'T,'U,'R>) : Memo<'R>

Projects source through collectionSelector onto an inner memo and combines both values with resultSelector.

Inner memo ticks re-run resultSelector with output cutoff while preserving the outer collectionSelector scope.

Raises
System.ArgumentNullExceptionsource, collectionSelector, or resultSelector is null.
System.InvalidOperationExceptionCalled inside a pure body or off the graph's thread.
static member SelectMany<'T, 'U> (source: Memo<'T>, selector: Func<'T,Memo<'U>>) : Memo<'U>

Switches dynamically onto the inner memo returned by selector(source.Value) whenever source settles on an unequal value.

Raises
System.ArgumentNullExceptionsource or selector is null.
System.InvalidOperationExceptionCalled inside a pure body or off the graph's thread.
static member SelectMany<'T, 'U, 'R> (source: Signal<'T>, collectionSelector: Func<'T,Memo<'U>>, resultSelector: Func<'T,'U,'R>) : Memo<'R>

Projects source through collectionSelector onto an inner memo and combines both values with resultSelector.

Inner memo ticks re-run resultSelector with output cutoff while preserving the outer collectionSelector scope.

Raises
System.ArgumentNullExceptionsource, collectionSelector, or resultSelector is null.
System.InvalidOperationExceptionCalled inside a pure body or off the graph's thread.
static member SelectMany<'T, 'U> (source: Signal<'T>, selector: Func<'T,Memo<'U>>) : Memo<'U>

Switches dynamically onto the inner memo returned by selector(source.Value) whenever source changes to an unequal value.

Raises
System.ArgumentNullExceptionsource or selector is null.
System.InvalidOperationExceptionCalled inside a pure body or off the graph's thread.
static member SelectManyFold<'K, 'S, 'T> (source: StreamMemo<'K>, seed: 'S, fold: Func<'S,'T,'S>, start: Func<'K,CancellationToken,StreamSource<'T>>) : StreamMemo<'S>

Folds items from start(k, token) into seed, restarting from seed whenever source publishes an unequal key k.

Raises
System.ArgumentNullExceptionsource, fold, or start is null.
System.InvalidOperationExceptionCalled inside a pure body or off the graph's thread.
static member Zip<'A, 'B, 'C> (first: StreamMemo<'A>, second: StreamMemo<'B>, resultSelector: Func<'A,'B,'C>) : Memo<'C>

A pure memo computing resultSelector(first.Value, second.Value) with left-to-right pending and failure precedence and tracking closed inside resultSelector.

Raises
System.ArgumentNullExceptionfirst, second, or resultSelector is null.
System.InvalidOperationExceptionfirst and second belong to different graphs, or called inside a pure body.
static member Zip<'A, 'B> (first: StreamMemo<'A>, second: StreamMemo<'B>) : Memo<struct ('A * 'B)>

A pure memo pairing first.Value and second.Value as a ValueTuple, with left-to-right pending and failure precedence.

Raises
System.ArgumentNullExceptionfirst or second is null.
System.InvalidOperationExceptionfirst and second belong to different graphs, or called inside a pure body.
static member Zip<'A, 'B, 'C> (first: AsyncSource<'A>, second: AsyncSource<'B>, resultSelector: Func<'A,'B,'C>) : Memo<'C>

A pure memo computing resultSelector(first.Value, second.Value) with left-to-right pending and failure precedence and tracking closed inside resultSelector.

Raises
System.ArgumentNullExceptionfirst, second, or resultSelector is null.
System.InvalidOperationExceptionfirst and second belong to different graphs, or called inside a pure body.
static member Zip<'A, 'B> (first: AsyncSource<'A>, second: AsyncSource<'B>) : Memo<struct ('A * 'B)>

A pure memo pairing first.Value and second.Value as a ValueTuple, with left-to-right pending and failure precedence.

Raises
System.ArgumentNullExceptionfirst or second is null.
System.InvalidOperationExceptionfirst and second belong to different graphs, or called inside a pure body.
static member Zip<'A, 'B, 'C> (first: AsyncMemo<'A>, second: AsyncMemo<'B>, resultSelector: Func<'A,'B,'C>) : Memo<'C>

A pure memo computing resultSelector(first.Value, second.Value) with left-to-right pending and failure precedence and tracking closed inside resultSelector.

Raises
System.ArgumentNullExceptionfirst, second, or resultSelector is null.
System.InvalidOperationExceptionfirst and second belong to different graphs, or called inside a pure body.
static member Zip<'A, 'B> (first: AsyncMemo<'A>, second: AsyncMemo<'B>) : Memo<struct ('A * 'B)>

A pure memo pairing first.Value and second.Value as a ValueTuple, with left-to-right pending and failure precedence.

Raises
System.ArgumentNullExceptionfirst or second is null.
System.InvalidOperationExceptionfirst and second belong to different graphs, or called inside a pure body.
static member Zip<'A, 'B, 'C> (first: Memo<'A>, second: Memo<'B>, resultSelector: Func<'A,'B,'C>) : Memo<'C>

A pure memo computing resultSelector(first.Value, second.Value) with left-to-right pending and failure precedence and tracking closed inside resultSelector.

Raises
System.ArgumentNullExceptionfirst, second, or resultSelector is null.
System.InvalidOperationExceptionfirst and second belong to different graphs, or called inside a pure body.
static member Zip<'A, 'B> (first: Memo<'A>, second: Memo<'B>) : Memo<struct ('A * 'B)>

A pure memo pairing first.Value and second.Value as a ValueTuple, with left-to-right pending and failure precedence.

Raises
System.ArgumentNullExceptionfirst or second is null.
System.InvalidOperationExceptionfirst and second belong to different graphs, or called inside a pure body.
static member Zip<'A, 'B, 'C> (first: Signal<'A>, second: Signal<'B>, resultSelector: Func<'A,'B,'C>) : Memo<'C>

A pure memo computing resultSelector(first.Value, second.Value) with dependency tracking closed inside resultSelector.

Raises
System.ArgumentNullExceptionfirst, second, or resultSelector is null.
System.InvalidOperationExceptionfirst and second belong to different graphs, or called inside a pure body.
static member Zip<'A, 'B> (first: Signal<'A>, second: Signal<'B>) : Memo<struct ('A * 'B)>

A pure memo pairing first.Value and second.Value as a ValueTuple.

Raises
System.ArgumentNullExceptionfirst or second is null.
System.InvalidOperationExceptionfirst and second belong to different graphs, or called inside a pure body.