LanguageExt.Core

LanguageExt.Core Effects Pipes Queue

Contents

class Queue <RT, OUT, A> Source #

where RT : struct, HasCancel<RT>

Properties

property Eff<RT, Unit> DoneEff Source #

Mark the Queue as done and cancel any Effect that it is in

Methods

method Unit Enqueue (OUT value) Source #

Enqueue an item

method Eff<RT, Unit> EnqueueEff (OUT value) Source #

Enqueue an item

method Unit Done () Source #

Mark the Queue as done and cancel any Effect that it is in

method Proxy<RT, Void, Unit, Unit, OUT, A> ToProxy () Source #

method Proxy<RT, Void, Unit, Unit, OUT, S> Bind <S> (Func<A, Proxy<RT, Void, Unit, Unit, OUT, S>> f) Source #

method Proxy<RT, Void, Unit, Unit, OUT, B> Map <B> (Func<A, B> f) Source #

method Producer<RT, OUT, B> Select <B> (Func<A, B> f) Source #

method Proxy<RT, Void, Unit, C1, C, A> For <C1, C> (Func<OUT, Proxy<RT, Void, Unit, C1, C, Unit>> body) Source #

method Proxy<RT, Void, Unit, Unit, OUT, B> Action <B> (Proxy<RT, Void, Unit, Unit, OUT, B> r) Source #

method Proxy<RT, UOutA, AUInA, Unit, OUT, A> PairEachRequestWithRespond <UOutA, AUInA> (Func<Void, Proxy<RT, UOutA, AUInA, Void, Unit, A>> lhs) Source #

(f +>> p) pairs each 'request' in this with a 'respond' in lhs.

method Proxy<RT, UOutA, AUInA, Unit, OUT, A> ReplaceRequest <UOutA, AUInA> (Func<Void, Proxy<RT, UOutA, AUInA, Unit, OUT, Unit>> lhs) Source #

method Proxy<RT, Void, Unit, DInC, DOutC, A> PairEachRespondWithRequest <DInC, DOutC> (Func<OUT, Proxy<RT, Unit, OUT, DInC, DOutC, A>> rhs) Source #

method Proxy<RT, Void, Unit, DInC, DOutC, A> ReplaceRespond <DInC, DOutC> (Func<OUT, Proxy<RT, Void, Unit, DInC, DOutC, Unit>> rhs) Source #

method Proxy<RT, OUT, Unit, Unit, Void, A> Reflect () Source #

method Proxy<RT, Void, Unit, Unit, OUT, A> Observe () Source #

Operators

operator | (Queue<RT, OUT, A> p1, Consumer<RT, OUT, A> p2) Source #

operator | (Queue<RT, OUT, A> p1, Consumer<OUT, A> p2) Source #