Class Keep
Convenience functions for often-encountered purposes like keeping only the left (first) or only the right (second) of two input values.
Inherited Members
Namespace: Akka.Streams.Dsl
Assembly: Akka.Streams.dll
Syntax
public static class Keep
Methods
| Improve this Doc View SourceBoth<TLeft, TRight>(TLeft, TRight)
TBD
Declaration
public static (TLeft, TRight) Both<TLeft, TRight>(TLeft left, TRight right)
Parameters
Type | Name | Description |
---|---|---|
TLeft | left | TBD |
TRight | right | TBD |
Returns
Type | Description |
---|---|
System.ValueTuple<TLeft, TRight> | TBD |
Type Parameters
Name | Description |
---|---|
TLeft | TBD |
TRight | TBD |
IsLeft<T1, T2, T3>(Func<T1, T2, T3>)
TBD
Declaration
public static bool IsLeft<T1, T2, T3>(Func<T1, T2, T3> fn)
Parameters
Type | Name | Description |
---|---|---|
Func<T1, T2, T3> | fn | TBD |
Returns
Type | Description |
---|---|
Boolean | TBD |
Type Parameters
Name | Description |
---|---|
T1 | TBD |
T2 | TBD |
T3 | TBD |
IsRight<T1, T2, T3>(Func<T1, T2, T3>)
TBD
Declaration
public static bool IsRight<T1, T2, T3>(Func<T1, T2, T3> fn)
Parameters
Type | Name | Description |
---|---|---|
Func<T1, T2, T3> | fn | TBD |
Returns
Type | Description |
---|---|
Boolean | TBD |
Type Parameters
Name | Description |
---|---|
T1 | TBD |
T2 | TBD |
T3 | TBD |
Left<TLeft, TRight>(TLeft, TRight)
TBD
Declaration
public static TLeft Left<TLeft, TRight>(TLeft left, TRight right)
Parameters
Type | Name | Description |
---|---|---|
TLeft | left | TBD |
TRight | right | TBD |
Returns
Type | Description |
---|---|
TLeft | TBD |
Type Parameters
Name | Description |
---|---|
TLeft | TBD |
TRight | TBD |
None<TLeft, TRight>(TLeft, TRight)
TBD
Declaration
public static NotUsed None<TLeft, TRight>(TLeft left, TRight right)
Parameters
Type | Name | Description |
---|---|---|
TLeft | left | TBD |
TRight | right | TBD |
Returns
Type | Description |
---|---|
NotUsed | TBD |
Type Parameters
Name | Description |
---|---|
TLeft | TBD |
TRight | TBD |
Right<TLeft, TRight>(TLeft, TRight)
TBD
Declaration
public static TRight Right<TLeft, TRight>(TLeft left, TRight right)
Parameters
Type | Name | Description |
---|---|---|
TLeft | left | TBD |
TRight | right | TBD |
Returns
Type | Description |
---|---|
TRight | TBD |
Type Parameters
Name | Description |
---|---|
TLeft | TBD |
TRight | TBD |