UniTaskAsyncEnumerable Class
Namespace: Cysharp.Threading.Tasks.Linq
Assembly: cs.temp.dll.dll
public static class UniTaskAsyncEnumerable
Inheritance
System.Object → UniTaskAsyncEnumerableMembers
Methods
Methods
AggregateAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, TSource, TSource>, CancellationToken)
public static UniTask<TSource> AggregateAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, TSource, TSource> accumulator, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>accumulator
System.Func<TSource, TSource, TSource>cancellationToken
CancellationToken
Returns
- UniTask<TSource>
Type Parameters
TSource
AggregateAsync<TSource, TAccumulate>(IUniTaskAsyncEnumerable<TSource>, TAccumulate, Func<TAccumulate, TSource, TAccumulate>, CancellationToken)
public static UniTask<TAccumulate> AggregateAsync<TSource, TAccumulate>(this IUniTaskAsyncEnumerable<TSource> source, TAccumulate seed, Func<TAccumulate, TSource, TAccumulate> accumulator, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>seed
TAccumulateaccumulator
System.Func<TAccumulate, TSource, TAccumulate>cancellationToken
CancellationToken
Returns
- UniTask<TAccumulate>
Type Parameters
TSource
TAccumulate
AggregateAsync<TSource, TAccumulate, TResult>(IUniTaskAsyncEnumerable<TSource>, TAccumulate, Func<TAccumulate, TSource, TAccumulate>, Func<TAccumulate, TResult>, CancellationToken)
public static UniTask<TResult> AggregateAsync<TSource, TAccumulate, TResult>(this IUniTaskAsyncEnumerable<TSource> source, TAccumulate seed, Func<TAccumulate, TSource, TAccumulate> accumulator, Func<TAccumulate, TResult> resultSelector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>seed
TAccumulateaccumulator
System.Func<TAccumulate, TSource, TAccumulate>resultSelector
System.Func<TAccumulate, TResult>cancellationToken
CancellationToken
Returns
- UniTask<TResult>
Type Parameters
TSource
TAccumulate
TResult
AggregateAwaitAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, TSource, UniTask<TSource>>, CancellationToken)
public static UniTask<TSource> AggregateAwaitAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, TSource, UniTask<TSource>> accumulator, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>accumulator
System.Func<TSource, TSource, UniTask<TSource>>cancellationToken
CancellationToken
Returns
- UniTask<TSource>
Type Parameters
TSource
AggregateAwaitAsync<TSource, TAccumulate>(IUniTaskAsyncEnumerable<TSource>, TAccumulate, Func<TAccumulate, TSource, UniTask<TAccumulate>>, CancellationToken)
public static UniTask<TAccumulate> AggregateAwaitAsync<TSource, TAccumulate>(this IUniTaskAsyncEnumerable<TSource> source, TAccumulate seed, Func<TAccumulate, TSource, UniTask<TAccumulate>> accumulator, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>seed
TAccumulateaccumulator
System.Func<TAccumulate, TSource, UniTask<TAccumulate>>cancellationToken
CancellationToken
Returns
- UniTask<TAccumulate>
Type Parameters
TSource
TAccumulate
AggregateAwaitAsync<TSource, TAccumulate, TResult>(IUniTaskAsyncEnumerable<TSource>, TAccumulate, Func<TAccumulate, TSource, UniTask<TAccumulate>>, Func<TAccumulate, UniTask<TResult>>, CancellationToken)
public static UniTask<TResult> AggregateAwaitAsync<TSource, TAccumulate, TResult>(this IUniTaskAsyncEnumerable<TSource> source, TAccumulate seed, Func<TAccumulate, TSource, UniTask<TAccumulate>> accumulator, Func<TAccumulate, UniTask<TResult>> resultSelector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>seed
TAccumulateaccumulator
System.Func<TAccumulate, TSource, UniTask<TAccumulate>>resultSelector
System.Func<TAccumulate, UniTask<TResult>>cancellationToken
CancellationToken
Returns
- UniTask<TResult>
Type Parameters
TSource
TAccumulate
TResult
AggregateAwaitWithCancellationAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, TSource, CancellationToken, UniTask<TSource>>, CancellationToken)
public static UniTask<TSource> AggregateAwaitWithCancellationAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, TSource, CancellationToken, UniTask<TSource>> accumulator, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>accumulator
System.Func<TSource, TSource, CancellationToken, UniTask<TSource>>cancellationToken
CancellationToken
Returns
- UniTask<TSource>
Type Parameters
TSource
AggregateAwaitWithCancellationAsync<TSource, TAccumulate>(IUniTaskAsyncEnumerable<TSource>, TAccumulate, Func<TAccumulate, TSource, CancellationToken, UniTask<TAccumulate>>, CancellationToken)
public static UniTask<TAccumulate> AggregateAwaitWithCancellationAsync<TSource, TAccumulate>(this IUniTaskAsyncEnumerable<TSource> source, TAccumulate seed, Func<TAccumulate, TSource, CancellationToken, UniTask<TAccumulate>> accumulator, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>seed
TAccumulateaccumulator
System.Func<TAccumulate, TSource, CancellationToken, UniTask<TAccumulate>>cancellationToken
CancellationToken
Returns
- UniTask<TAccumulate>
Type Parameters
TSource
TAccumulate
AggregateAwaitWithCancellationAsync<TSource, TAccumulate, TResult>(IUniTaskAsyncEnumerable<TSource>, TAccumulate, Func<TAccumulate, TSource, CancellationToken, UniTask<TAccumulate>>, Func<TAccumulate, CancellationToken, UniTask<TResult>>, CancellationToken)
public static UniTask<TResult> AggregateAwaitWithCancellationAsync<TSource, TAccumulate, TResult>(this IUniTaskAsyncEnumerable<TSource> source, TAccumulate seed, Func<TAccumulate, TSource, CancellationToken, UniTask<TAccumulate>> accumulator, Func<TAccumulate, CancellationToken, UniTask<TResult>> resultSelector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>seed
TAccumulateaccumulator
System.Func<TAccumulate, TSource, CancellationToken, UniTask<TAccumulate>>resultSelector
System.Func<TAccumulate, CancellationToken, UniTask<TResult>>cancellationToken
CancellationToken
Returns
- UniTask<TResult>
Type Parameters
TSource
TAccumulate
TResult
AllAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, Boolean>, CancellationToken)
public static UniTask<bool> AllAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, bool> predicate, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>predicate
System.Func<TSource, System.Boolean>cancellationToken
CancellationToken
Returns
- UniTask<System.Boolean>
Type Parameters
TSource
AllAwaitAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, UniTask<Boolean>>, CancellationToken)
public static UniTask<bool> AllAwaitAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, UniTask<bool>> predicate, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>predicate
System.Func<TSource, UniTask<System.Boolean>>cancellationToken
CancellationToken
Returns
- UniTask<System.Boolean>
Type Parameters
TSource
AllAwaitWithCancellationAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, CancellationToken, UniTask<Boolean>>, CancellationToken)
public static UniTask<bool> AllAwaitWithCancellationAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, CancellationToken, UniTask<bool>> predicate, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>predicate
System.Func<TSource, CancellationToken, UniTask<System.Boolean>>cancellationToken
CancellationToken
Returns
- UniTask<System.Boolean>
Type Parameters
TSource
AnyAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, CancellationToken)
public static UniTask<bool> AnyAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>cancellationToken
CancellationToken
Returns
- UniTask<System.Boolean>
Type Parameters
TSource
AnyAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, Boolean>, CancellationToken)
public static UniTask<bool> AnyAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, bool> predicate, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>predicate
System.Func<TSource, System.Boolean>cancellationToken
CancellationToken
Returns
- UniTask<System.Boolean>
Type Parameters
TSource
AnyAwaitAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, UniTask<Boolean>>, CancellationToken)
public static UniTask<bool> AnyAwaitAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, UniTask<bool>> predicate, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>predicate
System.Func<TSource, UniTask<System.Boolean>>cancellationToken
CancellationToken
Returns
- UniTask<System.Boolean>
Type Parameters
TSource
AnyAwaitWithCancellationAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, CancellationToken, UniTask<Boolean>>, CancellationToken)
public static UniTask<bool> AnyAwaitWithCancellationAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, CancellationToken, UniTask<bool>> predicate, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>predicate
System.Func<TSource, CancellationToken, UniTask<System.Boolean>>cancellationToken
CancellationToken
Returns
- UniTask<System.Boolean>
Type Parameters
TSource
Append<TSource>(IUniTaskAsyncEnumerable<TSource>, TSource)
public static IUniTaskAsyncEnumerable<TSource> Append<TSource>(this IUniTaskAsyncEnumerable<TSource> source, TSource element)
Parameters
source
IUniTaskAsyncEnumerable<TSource>element
TSource
Returns
- IUniTaskAsyncEnumerable<TSource>
Type Parameters
TSource
AsUniTaskAsyncEnumerable<TSource>(IUniTaskAsyncEnumerable<TSource>)
public static IUniTaskAsyncEnumerable<TSource> AsUniTaskAsyncEnumerable<TSource>(this IUniTaskAsyncEnumerable<TSource> source)
Parameters
source
IUniTaskAsyncEnumerable<TSource>
Returns
- IUniTaskAsyncEnumerable<TSource>
Type Parameters
TSource
AverageAsync(IUniTaskAsyncEnumerable<Decimal>, CancellationToken)
public static UniTask<decimal> AverageAsync(this IUniTaskAsyncEnumerable<decimal> source, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<System.Decimal>cancellationToken
CancellationToken
Returns
- UniTask<System.Decimal>
AverageAsync(IUniTaskAsyncEnumerable<Double>, CancellationToken)
public static UniTask<double> AverageAsync(this IUniTaskAsyncEnumerable<double> source, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<System.Double>cancellationToken
CancellationToken
Returns
- UniTask<System.Double>
AverageAsync(IUniTaskAsyncEnumerable<Int32>, CancellationToken)
public static UniTask<double> AverageAsync(this IUniTaskAsyncEnumerable<int> source, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<System.Int32>cancellationToken
CancellationToken
Returns
- UniTask<System.Double>
AverageAsync(IUniTaskAsyncEnumerable<Int64>, CancellationToken)
public static UniTask<double> AverageAsync(this IUniTaskAsyncEnumerable<long> source, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<System.Int64>cancellationToken
CancellationToken
Returns
- UniTask<System.Double>
AverageAsync(IUniTaskAsyncEnumerable<Nullable<Decimal>>, CancellationToken)
public static UniTask<decimal?> AverageAsync(this IUniTaskAsyncEnumerable<decimal?> source, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<System.Nullable<System.Decimal>>cancellationToken
CancellationToken
Returns
- UniTask<System.Nullable<System.Decimal>>
AverageAsync(IUniTaskAsyncEnumerable<Nullable<Double>>, CancellationToken)
public static UniTask<double?> AverageAsync(this IUniTaskAsyncEnumerable<double?> source, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<System.Nullable<System.Double>>cancellationToken
CancellationToken
Returns
- UniTask<System.Nullable<System.Double>>
AverageAsync(IUniTaskAsyncEnumerable<Nullable<Int32>>, CancellationToken)
public static UniTask<double?> AverageAsync(this IUniTaskAsyncEnumerable<int?> source, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<System.Nullable<System.Int32>>cancellationToken
CancellationToken
Returns
- UniTask<System.Nullable<System.Double>>
AverageAsync(IUniTaskAsyncEnumerable<Nullable<Int64>>, CancellationToken)
public static UniTask<double?> AverageAsync(this IUniTaskAsyncEnumerable<long?> source, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<System.Nullable<System.Int64>>cancellationToken
CancellationToken
Returns
- UniTask<System.Nullable<System.Double>>
AverageAsync(IUniTaskAsyncEnumerable<Nullable<Single>>, CancellationToken)
public static UniTask<float?> AverageAsync(this IUniTaskAsyncEnumerable<float?> source, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<System.Nullable<System.Single>>cancellationToken
CancellationToken
Returns
- UniTask<System.Nullable<System.Single>>
AverageAsync(IUniTaskAsyncEnumerable<Single>, CancellationToken)
public static UniTask<float> AverageAsync(this IUniTaskAsyncEnumerable<float> source, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<System.Single>cancellationToken
CancellationToken
Returns
- UniTask<System.Single>
AverageAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, Decimal>, CancellationToken)
public static UniTask<decimal> AverageAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, decimal> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, System.Decimal>cancellationToken
CancellationToken
Returns
- UniTask<System.Decimal>
Type Parameters
TSource
AverageAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, Double>, CancellationToken)
public static UniTask<double> AverageAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, double> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, System.Double>cancellationToken
CancellationToken
Returns
- UniTask<System.Double>
Type Parameters
TSource
AverageAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, Int32>, CancellationToken)
public static UniTask<double> AverageAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, int> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, System.Int32>cancellationToken
CancellationToken
Returns
- UniTask<System.Double>
Type Parameters
TSource
AverageAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, Int64>, CancellationToken)
public static UniTask<double> AverageAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, long> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, System.Int64>cancellationToken
CancellationToken
Returns
- UniTask<System.Double>
Type Parameters
TSource
AverageAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, Nullable<Decimal>>, CancellationToken)
public static UniTask<decimal?> AverageAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, decimal?> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, System.Nullable<System.Decimal>>cancellationToken
CancellationToken
Returns
- UniTask<System.Nullable<System.Decimal>>
Type Parameters
TSource
AverageAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, Nullable<Double>>, CancellationToken)
public static UniTask<double?> AverageAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, double?> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, System.Nullable<System.Double>>cancellationToken
CancellationToken
Returns
- UniTask<System.Nullable<System.Double>>
Type Parameters
TSource
AverageAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, Nullable<Int32>>, CancellationToken)
public static UniTask<double?> AverageAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, int?> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, System.Nullable<System.Int32>>cancellationToken
CancellationToken
Returns
- UniTask<System.Nullable<System.Double>>
Type Parameters
TSource
AverageAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, Nullable<Int64>>, CancellationToken)
public static UniTask<double?> AverageAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, long?> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, System.Nullable<System.Int64>>cancellationToken
CancellationToken
Returns
- UniTask<System.Nullable<System.Double>>
Type Parameters
TSource
AverageAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, Nullable<Single>>, CancellationToken)
public static UniTask<float?> AverageAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, float?> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, System.Nullable<System.Single>>cancellationToken
CancellationToken
Returns
- UniTask<System.Nullable<System.Single>>
Type Parameters
TSource
AverageAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, Single>, CancellationToken)
public static UniTask<float> AverageAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, float> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, System.Single>cancellationToken
CancellationToken
Returns
- UniTask<System.Single>
Type Parameters
TSource
AverageAwaitAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, UniTask<Decimal>>, CancellationToken)
public static UniTask<decimal> AverageAwaitAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, UniTask<decimal>> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, UniTask<System.Decimal>>cancellationToken
CancellationToken
Returns
- UniTask<System.Decimal>
Type Parameters
TSource
AverageAwaitAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, UniTask<Double>>, CancellationToken)
public static UniTask<double> AverageAwaitAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, UniTask<double>> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, UniTask<System.Double>>cancellationToken
CancellationToken
Returns
- UniTask<System.Double>
Type Parameters
TSource
AverageAwaitAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, UniTask<Int32>>, CancellationToken)
public static UniTask<double> AverageAwaitAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, UniTask<int>> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, UniTask<System.Int32>>cancellationToken
CancellationToken
Returns
- UniTask<System.Double>
Type Parameters
TSource
AverageAwaitAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, UniTask<Int64>>, CancellationToken)
public static UniTask<double> AverageAwaitAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, UniTask<long>> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, UniTask<System.Int64>>cancellationToken
CancellationToken
Returns
- UniTask<System.Double>
Type Parameters
TSource
AverageAwaitAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, UniTask<Nullable<Decimal>>>, CancellationToken)
public static UniTask<decimal?> AverageAwaitAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, UniTask<decimal?>> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, UniTask<System.Nullable<System.Decimal>>>cancellationToken
CancellationToken
Returns
- UniTask<System.Nullable<System.Decimal>>
Type Parameters
TSource
AverageAwaitAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, UniTask<Nullable<Double>>>, CancellationToken)
public static UniTask<double?> AverageAwaitAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, UniTask<double?>> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, UniTask<System.Nullable<System.Double>>>cancellationToken
CancellationToken
Returns
- UniTask<System.Nullable<System.Double>>
Type Parameters
TSource
AverageAwaitAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, UniTask<Nullable<Int32>>>, CancellationToken)
public static UniTask<double?> AverageAwaitAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, UniTask<int?>> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, UniTask<System.Nullable<System.Int32>>>cancellationToken
CancellationToken
Returns
- UniTask<System.Nullable<System.Double>>
Type Parameters
TSource
AverageAwaitAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, UniTask<Nullable<Int64>>>, CancellationToken)
public static UniTask<double?> AverageAwaitAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, UniTask<long?>> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, UniTask<System.Nullable<System.Int64>>>cancellationToken
CancellationToken
Returns
- UniTask<System.Nullable<System.Double>>
Type Parameters
TSource
AverageAwaitAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, UniTask<Nullable<Single>>>, CancellationToken)
public static UniTask<float?> AverageAwaitAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, UniTask<float?>> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, UniTask<System.Nullable<System.Single>>>cancellationToken
CancellationToken
Returns
- UniTask<System.Nullable<System.Single>>
Type Parameters
TSource
AverageAwaitAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, UniTask<Single>>, CancellationToken)
public static UniTask<float> AverageAwaitAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, UniTask<float>> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, UniTask<System.Single>>cancellationToken
CancellationToken
Returns
- UniTask<System.Single>
Type Parameters
TSource
AverageAwaitWithCancellationAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, CancellationToken, UniTask<Decimal>>, CancellationToken)
public static UniTask<decimal> AverageAwaitWithCancellationAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, CancellationToken, UniTask<decimal>> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, CancellationToken, UniTask<System.Decimal>>cancellationToken
CancellationToken
Returns
- UniTask<System.Decimal>
Type Parameters
TSource
AverageAwaitWithCancellationAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, CancellationToken, UniTask<Double>>, CancellationToken)
public static UniTask<double> AverageAwaitWithCancellationAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, CancellationToken, UniTask<double>> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, CancellationToken, UniTask<System.Double>>cancellationToken
CancellationToken
Returns
- UniTask<System.Double>
Type Parameters
TSource
AverageAwaitWithCancellationAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, CancellationToken, UniTask<Int32>>, CancellationToken)
public static UniTask<double> AverageAwaitWithCancellationAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, CancellationToken, UniTask<int>> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, CancellationToken, UniTask<System.Int32>>cancellationToken
CancellationToken
Returns
- UniTask<System.Double>
Type Parameters
TSource
AverageAwaitWithCancellationAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, CancellationToken, UniTask<Int64>>, CancellationToken)
public static UniTask<double> AverageAwaitWithCancellationAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, CancellationToken, UniTask<long>> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, CancellationToken, UniTask<System.Int64>>cancellationToken
CancellationToken
Returns
- UniTask<System.Double>
Type Parameters
TSource
AverageAwaitWithCancellationAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, CancellationToken, UniTask<Nullable<Decimal>>>, CancellationToken)
public static UniTask<decimal?> AverageAwaitWithCancellationAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, CancellationToken, UniTask<decimal?>> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, CancellationToken, UniTask<System.Nullable<System.Decimal>>>cancellationToken
CancellationToken
Returns
- UniTask<System.Nullable<System.Decimal>>
Type Parameters
TSource
AverageAwaitWithCancellationAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, CancellationToken, UniTask<Nullable<Double>>>, CancellationToken)
public static UniTask<double?> AverageAwaitWithCancellationAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, CancellationToken, UniTask<double?>> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, CancellationToken, UniTask<System.Nullable<System.Double>>>cancellationToken
CancellationToken
Returns
- UniTask<System.Nullable<System.Double>>
Type Parameters
TSource
AverageAwaitWithCancellationAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, CancellationToken, UniTask<Nullable<Int32>>>, CancellationToken)
public static UniTask<double?> AverageAwaitWithCancellationAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, CancellationToken, UniTask<int?>> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, CancellationToken, UniTask<System.Nullable<System.Int32>>>cancellationToken
CancellationToken
Returns
- UniTask<System.Nullable<System.Double>>
Type Parameters
TSource
AverageAwaitWithCancellationAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, CancellationToken, UniTask<Nullable<Int64>>>, CancellationToken)
public static UniTask<double?> AverageAwaitWithCancellationAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, CancellationToken, UniTask<long?>> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, CancellationToken, UniTask<System.Nullable<System.Int64>>>cancellationToken
CancellationToken
Returns
- UniTask<System.Nullable<System.Double>>
Type Parameters
TSource
AverageAwaitWithCancellationAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, CancellationToken, UniTask<Nullable<Single>>>, CancellationToken)
public static UniTask<float?> AverageAwaitWithCancellationAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, CancellationToken, UniTask<float?>> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, CancellationToken, UniTask<System.Nullable<System.Single>>>cancellationToken
CancellationToken
Returns
- UniTask<System.Nullable<System.Single>>
Type Parameters
TSource
AverageAwaitWithCancellationAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, CancellationToken, UniTask<Single>>, CancellationToken)
public static UniTask<float> AverageAwaitWithCancellationAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, CancellationToken, UniTask<float>> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, CancellationToken, UniTask<System.Single>>cancellationToken
CancellationToken
Returns
- UniTask<System.Single>
Type Parameters
TSource
Buffer<TSource>(IUniTaskAsyncEnumerable<TSource>, Int32)
public static IUniTaskAsyncEnumerable<IList<TSource>> Buffer<TSource>(this IUniTaskAsyncEnumerable<TSource> source, int count)
Parameters
source
IUniTaskAsyncEnumerable<TSource>count
System.Int32
Returns
- IUniTaskAsyncEnumerable<IList<TSource>>
Type Parameters
TSource
Buffer<TSource>(IUniTaskAsyncEnumerable<TSource>, Int32, Int32)
public static IUniTaskAsyncEnumerable<IList<TSource>> Buffer<TSource>(this IUniTaskAsyncEnumerable<TSource> source, int count, int skip)
Parameters
source
IUniTaskAsyncEnumerable<TSource>count
System.Int32skip
System.Int32
Returns
- IUniTaskAsyncEnumerable<IList<TSource>>
Type Parameters
TSource
Cast<TResult>(IUniTaskAsyncEnumerable<Object>)
public static IUniTaskAsyncEnumerable<TResult> Cast<TResult>(this IUniTaskAsyncEnumerable<object> source)
Parameters
source
IUniTaskAsyncEnumerable<System.Object>
Returns
- IUniTaskAsyncEnumerable<TResult>
Type Parameters
TResult
CombineLatest<T1, T2, T3, T4, T5, T6, T7, T8, T9, TResult>(IUniTaskAsyncEnumerable<T1>, IUniTaskAsyncEnumerable<T2>, IUniTaskAsyncEnumerable<T3>, IUniTaskAsyncEnumerable<T4>, IUniTaskAsyncEnumerable<T5>, IUniTaskAsyncEnumerable<T6>, IUniTaskAsyncEnumerable<T7>, IUniTaskAsyncEnumerable<T8>, IUniTaskAsyncEnumerable<T9>, Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, TResult>)
public static IUniTaskAsyncEnumerable<TResult> CombineLatest<T1, T2, T3, T4, T5, T6, T7, T8, T9, TResult>(this IUniTaskAsyncEnumerable<T1> source1, IUniTaskAsyncEnumerable<T2> source2, IUniTaskAsyncEnumerable<T3> source3, IUniTaskAsyncEnumerable<T4> source4, IUniTaskAsyncEnumerable<T5> source5, IUniTaskAsyncEnumerable<T6> source6, IUniTaskAsyncEnumerable<T7> source7, IUniTaskAsyncEnumerable<T8> source8, IUniTaskAsyncEnumerable<T9> source9, Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, TResult> resultSelector)
Parameters
source1
IUniTaskAsyncEnumerable<T1>source2
IUniTaskAsyncEnumerable<T2>source3
IUniTaskAsyncEnumerable<T3>source4
IUniTaskAsyncEnumerable<T4>source5
IUniTaskAsyncEnumerable<T5>source6
IUniTaskAsyncEnumerable<T6>source7
IUniTaskAsyncEnumerable<T7>source8
IUniTaskAsyncEnumerable<T8>source9
IUniTaskAsyncEnumerable<T9>resultSelector
System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, TResult>
Returns
- IUniTaskAsyncEnumerable<TResult>
Type Parameters
T1
T2
T3
T4
T5
T6
T7
T8
T9
TResult
CombineLatest<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, TResult>(IUniTaskAsyncEnumerable<T1>, IUniTaskAsyncEnumerable<T2>, IUniTaskAsyncEnumerable<T3>, IUniTaskAsyncEnumerable<T4>, IUniTaskAsyncEnumerable<T5>, IUniTaskAsyncEnumerable<T6>, IUniTaskAsyncEnumerable<T7>, IUniTaskAsyncEnumerable<T8>, IUniTaskAsyncEnumerable<T9>, IUniTaskAsyncEnumerable<T10>, Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, TResult>)
public static IUniTaskAsyncEnumerable<TResult> CombineLatest<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, TResult>(this IUniTaskAsyncEnumerable<T1> source1, IUniTaskAsyncEnumerable<T2> source2, IUniTaskAsyncEnumerable<T3> source3, IUniTaskAsyncEnumerable<T4> source4, IUniTaskAsyncEnumerable<T5> source5, IUniTaskAsyncEnumerable<T6> source6, IUniTaskAsyncEnumerable<T7> source7, IUniTaskAsyncEnumerable<T8> source8, IUniTaskAsyncEnumerable<T9> source9, IUniTaskAsyncEnumerable<T10> source10, Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, TResult> resultSelector)
Parameters
source1
IUniTaskAsyncEnumerable<T1>source2
IUniTaskAsyncEnumerable<T2>source3
IUniTaskAsyncEnumerable<T3>source4
IUniTaskAsyncEnumerable<T4>source5
IUniTaskAsyncEnumerable<T5>source6
IUniTaskAsyncEnumerable<T6>source7
IUniTaskAsyncEnumerable<T7>source8
IUniTaskAsyncEnumerable<T8>source9
IUniTaskAsyncEnumerable<T9>source10
IUniTaskAsyncEnumerable<T10>resultSelector
System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, TResult>
Returns
- IUniTaskAsyncEnumerable<TResult>
Type Parameters
T1
T2
T3
T4
T5
T6
T7
T8
T9
T10
TResult
CombineLatest<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, TResult>(IUniTaskAsyncEnumerable<T1>, IUniTaskAsyncEnumerable<T2>, IUniTaskAsyncEnumerable<T3>, IUniTaskAsyncEnumerable<T4>, IUniTaskAsyncEnumerable<T5>, IUniTaskAsyncEnumerable<T6>, IUniTaskAsyncEnumerable<T7>, IUniTaskAsyncEnumerable<T8>, IUniTaskAsyncEnumerable<T9>, IUniTaskAsyncEnumerable<T10>, IUniTaskAsyncEnumerable<T11>, Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, TResult>)
public static IUniTaskAsyncEnumerable<TResult> CombineLatest<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, TResult>(this IUniTaskAsyncEnumerable<T1> source1, IUniTaskAsyncEnumerable<T2> source2, IUniTaskAsyncEnumerable<T3> source3, IUniTaskAsyncEnumerable<T4> source4, IUniTaskAsyncEnumerable<T5> source5, IUniTaskAsyncEnumerable<T6> source6, IUniTaskAsyncEnumerable<T7> source7, IUniTaskAsyncEnumerable<T8> source8, IUniTaskAsyncEnumerable<T9> source9, IUniTaskAsyncEnumerable<T10> source10, IUniTaskAsyncEnumerable<T11> source11, Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, TResult> resultSelector)
Parameters
source1
IUniTaskAsyncEnumerable<T1>source2
IUniTaskAsyncEnumerable<T2>source3
IUniTaskAsyncEnumerable<T3>source4
IUniTaskAsyncEnumerable<T4>source5
IUniTaskAsyncEnumerable<T5>source6
IUniTaskAsyncEnumerable<T6>source7
IUniTaskAsyncEnumerable<T7>source8
IUniTaskAsyncEnumerable<T8>source9
IUniTaskAsyncEnumerable<T9>source10
IUniTaskAsyncEnumerable<T10>source11
IUniTaskAsyncEnumerable<T11>resultSelector
System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, TResult>
Returns
- IUniTaskAsyncEnumerable<TResult>
Type Parameters
T1
T2
T3
T4
T5
T6
T7
T8
T9
T10
T11
TResult
CombineLatest<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, TResult>(IUniTaskAsyncEnumerable<T1>, IUniTaskAsyncEnumerable<T2>, IUniTaskAsyncEnumerable<T3>, IUniTaskAsyncEnumerable<T4>, IUniTaskAsyncEnumerable<T5>, IUniTaskAsyncEnumerable<T6>, IUniTaskAsyncEnumerable<T7>, IUniTaskAsyncEnumerable<T8>, IUniTaskAsyncEnumerable<T9>, IUniTaskAsyncEnumerable<T10>, IUniTaskAsyncEnumerable<T11>, IUniTaskAsyncEnumerable<T12>, Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, TResult>)
public static IUniTaskAsyncEnumerable<TResult> CombineLatest<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, TResult>(this IUniTaskAsyncEnumerable<T1> source1, IUniTaskAsyncEnumerable<T2> source2, IUniTaskAsyncEnumerable<T3> source3, IUniTaskAsyncEnumerable<T4> source4, IUniTaskAsyncEnumerable<T5> source5, IUniTaskAsyncEnumerable<T6> source6, IUniTaskAsyncEnumerable<T7> source7, IUniTaskAsyncEnumerable<T8> source8, IUniTaskAsyncEnumerable<T9> source9, IUniTaskAsyncEnumerable<T10> source10, IUniTaskAsyncEnumerable<T11> source11, IUniTaskAsyncEnumerable<T12> source12, Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, TResult> resultSelector)
Parameters
source1
IUniTaskAsyncEnumerable<T1>source2
IUniTaskAsyncEnumerable<T2>source3
IUniTaskAsyncEnumerable<T3>source4
IUniTaskAsyncEnumerable<T4>source5
IUniTaskAsyncEnumerable<T5>source6
IUniTaskAsyncEnumerable<T6>source7
IUniTaskAsyncEnumerable<T7>source8
IUniTaskAsyncEnumerable<T8>source9
IUniTaskAsyncEnumerable<T9>source10
IUniTaskAsyncEnumerable<T10>source11
IUniTaskAsyncEnumerable<T11>source12
IUniTaskAsyncEnumerable<T12>resultSelector
System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, TResult>
Returns
- IUniTaskAsyncEnumerable<TResult>
Type Parameters
T1
T2
T3
T4
T5
T6
T7
T8
T9
T10
T11
T12
TResult
CombineLatest<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, TResult>(IUniTaskAsyncEnumerable<T1>, IUniTaskAsyncEnumerable<T2>, IUniTaskAsyncEnumerable<T3>, IUniTaskAsyncEnumerable<T4>, IUniTaskAsyncEnumerable<T5>, IUniTaskAsyncEnumerable<T6>, IUniTaskAsyncEnumerable<T7>, IUniTaskAsyncEnumerable<T8>, IUniTaskAsyncEnumerable<T9>, IUniTaskAsyncEnumerable<T10>, IUniTaskAsyncEnumerable<T11>, IUniTaskAsyncEnumerable<T12>, IUniTaskAsyncEnumerable<T13>, Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, TResult>)
public static IUniTaskAsyncEnumerable<TResult> CombineLatest<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, TResult>(this IUniTaskAsyncEnumerable<T1> source1, IUniTaskAsyncEnumerable<T2> source2, IUniTaskAsyncEnumerable<T3> source3, IUniTaskAsyncEnumerable<T4> source4, IUniTaskAsyncEnumerable<T5> source5, IUniTaskAsyncEnumerable<T6> source6, IUniTaskAsyncEnumerable<T7> source7, IUniTaskAsyncEnumerable<T8> source8, IUniTaskAsyncEnumerable<T9> source9, IUniTaskAsyncEnumerable<T10> source10, IUniTaskAsyncEnumerable<T11> source11, IUniTaskAsyncEnumerable<T12> source12, IUniTaskAsyncEnumerable<T13> source13, Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, TResult> resultSelector)
Parameters
source1
IUniTaskAsyncEnumerable<T1>source2
IUniTaskAsyncEnumerable<T2>source3
IUniTaskAsyncEnumerable<T3>source4
IUniTaskAsyncEnumerable<T4>source5
IUniTaskAsyncEnumerable<T5>source6
IUniTaskAsyncEnumerable<T6>source7
IUniTaskAsyncEnumerable<T7>source8
IUniTaskAsyncEnumerable<T8>source9
IUniTaskAsyncEnumerable<T9>source10
IUniTaskAsyncEnumerable<T10>source11
IUniTaskAsyncEnumerable<T11>source12
IUniTaskAsyncEnumerable<T12>source13
IUniTaskAsyncEnumerable<T13>resultSelector
System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, TResult>
Returns
- IUniTaskAsyncEnumerable<TResult>
Type Parameters
T1
T2
T3
T4
T5
T6
T7
T8
T9
T10
T11
T12
T13
TResult
CombineLatest<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, TResult>(IUniTaskAsyncEnumerable<T1>, IUniTaskAsyncEnumerable<T2>, IUniTaskAsyncEnumerable<T3>, IUniTaskAsyncEnumerable<T4>, IUniTaskAsyncEnumerable<T5>, IUniTaskAsyncEnumerable<T6>, IUniTaskAsyncEnumerable<T7>, IUniTaskAsyncEnumerable<T8>, IUniTaskAsyncEnumerable<T9>, IUniTaskAsyncEnumerable<T10>, IUniTaskAsyncEnumerable<T11>, IUniTaskAsyncEnumerable<T12>, IUniTaskAsyncEnumerable<T13>, IUniTaskAsyncEnumerable<T14>, Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, TResult>)
public static IUniTaskAsyncEnumerable<TResult> CombineLatest<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, TResult>(this IUniTaskAsyncEnumerable<T1> source1, IUniTaskAsyncEnumerable<T2> source2, IUniTaskAsyncEnumerable<T3> source3, IUniTaskAsyncEnumerable<T4> source4, IUniTaskAsyncEnumerable<T5> source5, IUniTaskAsyncEnumerable<T6> source6, IUniTaskAsyncEnumerable<T7> source7, IUniTaskAsyncEnumerable<T8> source8, IUniTaskAsyncEnumerable<T9> source9, IUniTaskAsyncEnumerable<T10> source10, IUniTaskAsyncEnumerable<T11> source11, IUniTaskAsyncEnumerable<T12> source12, IUniTaskAsyncEnumerable<T13> source13, IUniTaskAsyncEnumerable<T14> source14, Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, TResult> resultSelector)
Parameters
source1
IUniTaskAsyncEnumerable<T1>source2
IUniTaskAsyncEnumerable<T2>source3
IUniTaskAsyncEnumerable<T3>source4
IUniTaskAsyncEnumerable<T4>source5
IUniTaskAsyncEnumerable<T5>source6
IUniTaskAsyncEnumerable<T6>source7
IUniTaskAsyncEnumerable<T7>source8
IUniTaskAsyncEnumerable<T8>source9
IUniTaskAsyncEnumerable<T9>source10
IUniTaskAsyncEnumerable<T10>source11
IUniTaskAsyncEnumerable<T11>source12
IUniTaskAsyncEnumerable<T12>source13
IUniTaskAsyncEnumerable<T13>source14
IUniTaskAsyncEnumerable<T14>resultSelector
System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, TResult>
Returns
- IUniTaskAsyncEnumerable<TResult>
Type Parameters
T1
T2
T3
T4
T5
T6
T7
T8
T9
T10
T11
T12
T13
T14
TResult
CombineLatest<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, TResult>(IUniTaskAsyncEnumerable<T1>, IUniTaskAsyncEnumerable<T2>, IUniTaskAsyncEnumerable<T3>, IUniTaskAsyncEnumerable<T4>, IUniTaskAsyncEnumerable<T5>, IUniTaskAsyncEnumerable<T6>, IUniTaskAsyncEnumerable<T7>, IUniTaskAsyncEnumerable<T8>, IUniTaskAsyncEnumerable<T9>, IUniTaskAsyncEnumerable<T10>, IUniTaskAsyncEnumerable<T11>, IUniTaskAsyncEnumerable<T12>, IUniTaskAsyncEnumerable<T13>, IUniTaskAsyncEnumerable<T14>, IUniTaskAsyncEnumerable<T15>, Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, TResult>)
public static IUniTaskAsyncEnumerable<TResult> CombineLatest<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, TResult>(this IUniTaskAsyncEnumerable<T1> source1, IUniTaskAsyncEnumerable<T2> source2, IUniTaskAsyncEnumerable<T3> source3, IUniTaskAsyncEnumerable<T4> source4, IUniTaskAsyncEnumerable<T5> source5, IUniTaskAsyncEnumerable<T6> source6, IUniTaskAsyncEnumerable<T7> source7, IUniTaskAsyncEnumerable<T8> source8, IUniTaskAsyncEnumerable<T9> source9, IUniTaskAsyncEnumerable<T10> source10, IUniTaskAsyncEnumerable<T11> source11, IUniTaskAsyncEnumerable<T12> source12, IUniTaskAsyncEnumerable<T13> source13, IUniTaskAsyncEnumerable<T14> source14, IUniTaskAsyncEnumerable<T15> source15, Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, TResult> resultSelector)
Parameters
source1
IUniTaskAsyncEnumerable<T1>source2
IUniTaskAsyncEnumerable<T2>source3
IUniTaskAsyncEnumerable<T3>source4
IUniTaskAsyncEnumerable<T4>source5
IUniTaskAsyncEnumerable<T5>source6
IUniTaskAsyncEnumerable<T6>source7
IUniTaskAsyncEnumerable<T7>source8
IUniTaskAsyncEnumerable<T8>source9
IUniTaskAsyncEnumerable<T9>source10
IUniTaskAsyncEnumerable<T10>source11
IUniTaskAsyncEnumerable<T11>source12
IUniTaskAsyncEnumerable<T12>source13
IUniTaskAsyncEnumerable<T13>source14
IUniTaskAsyncEnumerable<T14>source15
IUniTaskAsyncEnumerable<T15>resultSelector
System.Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, TResult>
Returns
- IUniTaskAsyncEnumerable<TResult>
Type Parameters
T1
T2
T3
T4
T5
T6
T7
T8
T9
T10
T11
T12
T13
T14
T15
TResult
CombineLatest<T1, T2, TResult>(IUniTaskAsyncEnumerable<T1>, IUniTaskAsyncEnumerable<T2>, Func<T1, T2, TResult>)
public static IUniTaskAsyncEnumerable<TResult> CombineLatest<T1, T2, TResult>(this IUniTaskAsyncEnumerable<T1> source1, IUniTaskAsyncEnumerable<T2> source2, Func<T1, T2, TResult> resultSelector)
Parameters
source1
IUniTaskAsyncEnumerable<T1>source2
IUniTaskAsyncEnumerable<T2>resultSelector
System.Func<T1, T2, TResult>
Returns
- IUniTaskAsyncEnumerable<TResult>
Type Parameters
T1
T2
TResult
CombineLatest<T1, T2, T3, TResult>(IUniTaskAsyncEnumerable<T1>, IUniTaskAsyncEnumerable<T2>, IUniTaskAsyncEnumerable<T3>, Func<T1, T2, T3, TResult>)
public static IUniTaskAsyncEnumerable<TResult> CombineLatest<T1, T2, T3, TResult>(this IUniTaskAsyncEnumerable<T1> source1, IUniTaskAsyncEnumerable<T2> source2, IUniTaskAsyncEnumerable<T3> source3, Func<T1, T2, T3, TResult> resultSelector)
Parameters
source1
IUniTaskAsyncEnumerable<T1>source2
IUniTaskAsyncEnumerable<T2>source3
IUniTaskAsyncEnumerable<T3>resultSelector
System.Func<T1, T2, T3, TResult>
Returns
- IUniTaskAsyncEnumerable<TResult>
Type Parameters
T1
T2
T3
TResult
CombineLatest<T1, T2, T3, T4, TResult>(IUniTaskAsyncEnumerable<T1>, IUniTaskAsyncEnumerable<T2>, IUniTaskAsyncEnumerable<T3>, IUniTaskAsyncEnumerable<T4>, Func<T1, T2, T3, T4, TResult>)
public static IUniTaskAsyncEnumerable<TResult> CombineLatest<T1, T2, T3, T4, TResult>(this IUniTaskAsyncEnumerable<T1> source1, IUniTaskAsyncEnumerable<T2> source2, IUniTaskAsyncEnumerable<T3> source3, IUniTaskAsyncEnumerable<T4> source4, Func<T1, T2, T3, T4, TResult> resultSelector)
Parameters
source1
IUniTaskAsyncEnumerable<T1>source2
IUniTaskAsyncEnumerable<T2>source3
IUniTaskAsyncEnumerable<T3>source4
IUniTaskAsyncEnumerable<T4>resultSelector
System.Func<T1, T2, T3, T4, TResult>
Returns
- IUniTaskAsyncEnumerable<TResult>
Type Parameters
T1
T2
T3
T4
TResult
CombineLatest<T1, T2, T3, T4, T5, TResult>(IUniTaskAsyncEnumerable<T1>, IUniTaskAsyncEnumerable<T2>, IUniTaskAsyncEnumerable<T3>, IUniTaskAsyncEnumerable<T4>, IUniTaskAsyncEnumerable<T5>, Func<T1, T2, T3, T4, T5, TResult>)
public static IUniTaskAsyncEnumerable<TResult> CombineLatest<T1, T2, T3, T4, T5, TResult>(this IUniTaskAsyncEnumerable<T1> source1, IUniTaskAsyncEnumerable<T2> source2, IUniTaskAsyncEnumerable<T3> source3, IUniTaskAsyncEnumerable<T4> source4, IUniTaskAsyncEnumerable<T5> source5, Func<T1, T2, T3, T4, T5, TResult> resultSelector)
Parameters
source1
IUniTaskAsyncEnumerable<T1>source2
IUniTaskAsyncEnumerable<T2>source3
IUniTaskAsyncEnumerable<T3>source4
IUniTaskAsyncEnumerable<T4>source5
IUniTaskAsyncEnumerable<T5>resultSelector
System.Func<T1, T2, T3, T4, T5, TResult>
Returns
- IUniTaskAsyncEnumerable<TResult>
Type Parameters
T1
T2
T3
T4
T5
TResult
CombineLatest<T1, T2, T3, T4, T5, T6, TResult>(IUniTaskAsyncEnumerable<T1>, IUniTaskAsyncEnumerable<T2>, IUniTaskAsyncEnumerable<T3>, IUniTaskAsyncEnumerable<T4>, IUniTaskAsyncEnumerable<T5>, IUniTaskAsyncEnumerable<T6>, Func<T1, T2, T3, T4, T5, T6, TResult>)
public static IUniTaskAsyncEnumerable<TResult> CombineLatest<T1, T2, T3, T4, T5, T6, TResult>(this IUniTaskAsyncEnumerable<T1> source1, IUniTaskAsyncEnumerable<T2> source2, IUniTaskAsyncEnumerable<T3> source3, IUniTaskAsyncEnumerable<T4> source4, IUniTaskAsyncEnumerable<T5> source5, IUniTaskAsyncEnumerable<T6> source6, Func<T1, T2, T3, T4, T5, T6, TResult> resultSelector)
Parameters
source1
IUniTaskAsyncEnumerable<T1>source2
IUniTaskAsyncEnumerable<T2>source3
IUniTaskAsyncEnumerable<T3>source4
IUniTaskAsyncEnumerable<T4>source5
IUniTaskAsyncEnumerable<T5>source6
IUniTaskAsyncEnumerable<T6>resultSelector
System.Func<T1, T2, T3, T4, T5, T6, TResult>
Returns
- IUniTaskAsyncEnumerable<TResult>
Type Parameters
T1
T2
T3
T4
T5
T6
TResult
CombineLatest<T1, T2, T3, T4, T5, T6, T7, TResult>(IUniTaskAsyncEnumerable<T1>, IUniTaskAsyncEnumerable<T2>, IUniTaskAsyncEnumerable<T3>, IUniTaskAsyncEnumerable<T4>, IUniTaskAsyncEnumerable<T5>, IUniTaskAsyncEnumerable<T6>, IUniTaskAsyncEnumerable<T7>, Func<T1, T2, T3, T4, T5, T6, T7, TResult>)
public static IUniTaskAsyncEnumerable<TResult> CombineLatest<T1, T2, T3, T4, T5, T6, T7, TResult>(this IUniTaskAsyncEnumerable<T1> source1, IUniTaskAsyncEnumerable<T2> source2, IUniTaskAsyncEnumerable<T3> source3, IUniTaskAsyncEnumerable<T4> source4, IUniTaskAsyncEnumerable<T5> source5, IUniTaskAsyncEnumerable<T6> source6, IUniTaskAsyncEnumerable<T7> source7, Func<T1, T2, T3, T4, T5, T6, T7, TResult> resultSelector)
Parameters
source1
IUniTaskAsyncEnumerable<T1>source2
IUniTaskAsyncEnumerable<T2>source3
IUniTaskAsyncEnumerable<T3>source4
IUniTaskAsyncEnumerable<T4>source5
IUniTaskAsyncEnumerable<T5>source6
IUniTaskAsyncEnumerable<T6>source7
IUniTaskAsyncEnumerable<T7>resultSelector
System.Func<T1, T2, T3, T4, T5, T6, T7, TResult>
Returns
- IUniTaskAsyncEnumerable<TResult>
Type Parameters
T1
T2
T3
T4
T5
T6
T7
TResult
CombineLatest<T1, T2, T3, T4, T5, T6, T7, T8, TResult>(IUniTaskAsyncEnumerable<T1>, IUniTaskAsyncEnumerable<T2>, IUniTaskAsyncEnumerable<T3>, IUniTaskAsyncEnumerable<T4>, IUniTaskAsyncEnumerable<T5>, IUniTaskAsyncEnumerable<T6>, IUniTaskAsyncEnumerable<T7>, IUniTaskAsyncEnumerable<T8>, Func<T1, T2, T3, T4, T5, T6, T7, T8, TResult>)
public static IUniTaskAsyncEnumerable<TResult> CombineLatest<T1, T2, T3, T4, T5, T6, T7, T8, TResult>(this IUniTaskAsyncEnumerable<T1> source1, IUniTaskAsyncEnumerable<T2> source2, IUniTaskAsyncEnumerable<T3> source3, IUniTaskAsyncEnumerable<T4> source4, IUniTaskAsyncEnumerable<T5> source5, IUniTaskAsyncEnumerable<T6> source6, IUniTaskAsyncEnumerable<T7> source7, IUniTaskAsyncEnumerable<T8> source8, Func<T1, T2, T3, T4, T5, T6, T7, T8, TResult> resultSelector)
Parameters
source1
IUniTaskAsyncEnumerable<T1>source2
IUniTaskAsyncEnumerable<T2>source3
IUniTaskAsyncEnumerable<T3>source4
IUniTaskAsyncEnumerable<T4>source5
IUniTaskAsyncEnumerable<T5>source6
IUniTaskAsyncEnumerable<T6>source7
IUniTaskAsyncEnumerable<T7>source8
IUniTaskAsyncEnumerable<T8>resultSelector
System.Func<T1, T2, T3, T4, T5, T6, T7, T8, TResult>
Returns
- IUniTaskAsyncEnumerable<TResult>
Type Parameters
T1
T2
T3
T4
T5
T6
T7
T8
TResult
Concat<TSource>(IUniTaskAsyncEnumerable<TSource>, IUniTaskAsyncEnumerable<TSource>)
public static IUniTaskAsyncEnumerable<TSource> Concat<TSource>(this IUniTaskAsyncEnumerable<TSource> first, IUniTaskAsyncEnumerable<TSource> second)
Parameters
first
IUniTaskAsyncEnumerable<TSource>second
IUniTaskAsyncEnumerable<TSource>
Returns
- IUniTaskAsyncEnumerable<TSource>
Type Parameters
TSource
ContainsAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, TSource, CancellationToken)
public static UniTask<bool> ContainsAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, TSource value, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>value
TSourcecancellationToken
CancellationToken
Returns
- UniTask<System.Boolean>
Type Parameters
TSource
ContainsAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, TSource, IEqualityComparer<TSource>, CancellationToken)
public static UniTask<bool> ContainsAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, TSource value, IEqualityComparer<TSource> comparer, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>value
TSourcecomparer
IEqualityComparer<TSource>cancellationToken
CancellationToken
Returns
- UniTask<System.Boolean>
Type Parameters
TSource
CountAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, CancellationToken)
public static UniTask<int> CountAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>cancellationToken
CancellationToken
Returns
- UniTask<System.Int32>
Type Parameters
TSource
CountAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, Boolean>, CancellationToken)
public static UniTask<int> CountAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, bool> predicate, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>predicate
System.Func<TSource, System.Boolean>cancellationToken
CancellationToken
Returns
- UniTask<System.Int32>
Type Parameters
TSource
CountAwaitAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, UniTask<Boolean>>, CancellationToken)
public static UniTask<int> CountAwaitAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, UniTask<bool>> predicate, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>predicate
System.Func<TSource, UniTask<System.Boolean>>cancellationToken
CancellationToken
Returns
- UniTask<System.Int32>
Type Parameters
TSource
CountAwaitWithCancellationAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, CancellationToken, UniTask<Boolean>>, CancellationToken)
public static UniTask<int> CountAwaitWithCancellationAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, CancellationToken, UniTask<bool>> predicate, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>predicate
System.Func<TSource, CancellationToken, UniTask<System.Boolean>>cancellationToken
CancellationToken
Returns
- UniTask<System.Int32>
Type Parameters
TSource
Create<T>(Func<IAsyncWriter<T>, CancellationToken, UniTask>)
public static IUniTaskAsyncEnumerable<T> Create<T>(Func<IAsyncWriter<T>, CancellationToken, UniTask> create)
Parameters
create
System.Func<IAsyncWriter<T>, CancellationToken, UniTask>
Returns
Type Parameters
T
DefaultIfEmpty<TSource>(IUniTaskAsyncEnumerable<TSource>)
public static IUniTaskAsyncEnumerable<TSource> DefaultIfEmpty<TSource>(this IUniTaskAsyncEnumerable<TSource> source)
Parameters
source
IUniTaskAsyncEnumerable<TSource>
Returns
- IUniTaskAsyncEnumerable<TSource>
Type Parameters
TSource
DefaultIfEmpty<TSource>(IUniTaskAsyncEnumerable<TSource>, TSource)
public static IUniTaskAsyncEnumerable<TSource> DefaultIfEmpty<TSource>(this IUniTaskAsyncEnumerable<TSource> source, TSource defaultValue)
Parameters
source
IUniTaskAsyncEnumerable<TSource>defaultValue
TSource
Returns
- IUniTaskAsyncEnumerable<TSource>
Type Parameters
TSource
Distinct<TSource>(IUniTaskAsyncEnumerable<TSource>)
public static IUniTaskAsyncEnumerable<TSource> Distinct<TSource>(this IUniTaskAsyncEnumerable<TSource> source)
Parameters
source
IUniTaskAsyncEnumerable<TSource>
Returns
- IUniTaskAsyncEnumerable<TSource>
Type Parameters
TSource
Distinct<TSource>(IUniTaskAsyncEnumerable<TSource>, IEqualityComparer<TSource>)
public static IUniTaskAsyncEnumerable<TSource> Distinct<TSource>(this IUniTaskAsyncEnumerable<TSource> source, IEqualityComparer<TSource> comparer)
Parameters
source
IUniTaskAsyncEnumerable<TSource>comparer
IEqualityComparer<TSource>
Returns
- IUniTaskAsyncEnumerable<TSource>
Type Parameters
TSource
Distinct<TSource, TKey>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, TKey>)
public static IUniTaskAsyncEnumerable<TSource> Distinct<TSource, TKey>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, TKey> keySelector)
Parameters
source
IUniTaskAsyncEnumerable<TSource>keySelector
System.Func<TSource, TKey>
Returns
- IUniTaskAsyncEnumerable<TSource>
Type Parameters
TSource
TKey
Distinct<TSource, TKey>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, TKey>, IEqualityComparer<TKey>)
public static IUniTaskAsyncEnumerable<TSource> Distinct<TSource, TKey>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, TKey> keySelector, IEqualityComparer<TKey> comparer)
Parameters
source
IUniTaskAsyncEnumerable<TSource>keySelector
System.Func<TSource, TKey>comparer
IEqualityComparer<TKey>
Returns
- IUniTaskAsyncEnumerable<TSource>
Type Parameters
TSource
TKey
DistinctAwait<TSource, TKey>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, UniTask<TKey>>)
public static IUniTaskAsyncEnumerable<TSource> DistinctAwait<TSource, TKey>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, UniTask<TKey>> keySelector)
Parameters
source
IUniTaskAsyncEnumerable<TSource>keySelector
System.Func<TSource, UniTask<TKey>>
Returns
- IUniTaskAsyncEnumerable<TSource>
Type Parameters
TSource
TKey
DistinctAwait<TSource, TKey>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, UniTask<TKey>>, IEqualityComparer<TKey>)
public static IUniTaskAsyncEnumerable<TSource> DistinctAwait<TSource, TKey>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, UniTask<TKey>> keySelector, IEqualityComparer<TKey> comparer)
Parameters
source
IUniTaskAsyncEnumerable<TSource>keySelector
System.Func<TSource, UniTask<TKey>>comparer
IEqualityComparer<TKey>
Returns
- IUniTaskAsyncEnumerable<TSource>
Type Parameters
TSource
TKey
DistinctAwaitWithCancellation<TSource, TKey>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, CancellationToken, UniTask<TKey>>)
public static IUniTaskAsyncEnumerable<TSource> DistinctAwaitWithCancellation<TSource, TKey>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, CancellationToken, UniTask<TKey>> keySelector)
Parameters
source
IUniTaskAsyncEnumerable<TSource>keySelector
System.Func<TSource, CancellationToken, UniTask<TKey>>
Returns
- IUniTaskAsyncEnumerable<TSource>
Type Parameters
TSource
TKey
DistinctAwaitWithCancellation<TSource, TKey>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, CancellationToken, UniTask<TKey>>, IEqualityComparer<TKey>)
public static IUniTaskAsyncEnumerable<TSource> DistinctAwaitWithCancellation<TSource, TKey>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, CancellationToken, UniTask<TKey>> keySelector, IEqualityComparer<TKey> comparer)
Parameters
source
IUniTaskAsyncEnumerable<TSource>keySelector
System.Func<TSource, CancellationToken, UniTask<TKey>>comparer
IEqualityComparer<TKey>
Returns
- IUniTaskAsyncEnumerable<TSource>
Type Parameters
TSource
TKey
DistinctUntilChanged<TSource>(IUniTaskAsyncEnumerable<TSource>)
public static IUniTaskAsyncEnumerable<TSource> DistinctUntilChanged<TSource>(this IUniTaskAsyncEnumerable<TSource> source)
Parameters
source
IUniTaskAsyncEnumerable<TSource>
Returns
- IUniTaskAsyncEnumerable<TSource>
Type Parameters
TSource
DistinctUntilChanged<TSource>(IUniTaskAsyncEnumerable<TSource>, IEqualityComparer<TSource>)
public static IUniTaskAsyncEnumerable<TSource> DistinctUntilChanged<TSource>(this IUniTaskAsyncEnumerable<TSource> source, IEqualityComparer<TSource> comparer)
Parameters
source
IUniTaskAsyncEnumerable<TSource>comparer
IEqualityComparer<TSource>
Returns
- IUniTaskAsyncEnumerable<TSource>
Type Parameters
TSource
DistinctUntilChanged<TSource, TKey>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, TKey>)
public static IUniTaskAsyncEnumerable<TSource> DistinctUntilChanged<TSource, TKey>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, TKey> keySelector)
Parameters
source
IUniTaskAsyncEnumerable<TSource>keySelector
System.Func<TSource, TKey>
Returns
- IUniTaskAsyncEnumerable<TSource>
Type Parameters
TSource
TKey
DistinctUntilChanged<TSource, TKey>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, TKey>, IEqualityComparer<TKey>)
public static IUniTaskAsyncEnumerable<TSource> DistinctUntilChanged<TSource, TKey>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, TKey> keySelector, IEqualityComparer<TKey> comparer)
Parameters
source
IUniTaskAsyncEnumerable<TSource>keySelector
System.Func<TSource, TKey>comparer
IEqualityComparer<TKey>
Returns
- IUniTaskAsyncEnumerable<TSource>
Type Parameters
TSource
TKey
DistinctUntilChangedAwait<TSource, TKey>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, UniTask<TKey>>)
public static IUniTaskAsyncEnumerable<TSource> DistinctUntilChangedAwait<TSource, TKey>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, UniTask<TKey>> keySelector)
Parameters
source
IUniTaskAsyncEnumerable<TSource>keySelector
System.Func<TSource, UniTask<TKey>>
Returns
- IUniTaskAsyncEnumerable<TSource>
Type Parameters
TSource
TKey
DistinctUntilChangedAwait<TSource, TKey>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, UniTask<TKey>>, IEqualityComparer<TKey>)
public static IUniTaskAsyncEnumerable<TSource> DistinctUntilChangedAwait<TSource, TKey>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, UniTask<TKey>> keySelector, IEqualityComparer<TKey> comparer)
Parameters
source
IUniTaskAsyncEnumerable<TSource>keySelector
System.Func<TSource, UniTask<TKey>>comparer
IEqualityComparer<TKey>
Returns
- IUniTaskAsyncEnumerable<TSource>
Type Parameters
TSource
TKey
DistinctUntilChangedAwaitWithCancellation<TSource, TKey>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, CancellationToken, UniTask<TKey>>)
public static IUniTaskAsyncEnumerable<TSource> DistinctUntilChangedAwaitWithCancellation<TSource, TKey>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, CancellationToken, UniTask<TKey>> keySelector)
Parameters
source
IUniTaskAsyncEnumerable<TSource>keySelector
System.Func<TSource, CancellationToken, UniTask<TKey>>
Returns
- IUniTaskAsyncEnumerable<TSource>
Type Parameters
TSource
TKey
DistinctUntilChangedAwaitWithCancellation<TSource, TKey>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, CancellationToken, UniTask<TKey>>, IEqualityComparer<TKey>)
public static IUniTaskAsyncEnumerable<TSource> DistinctUntilChangedAwaitWithCancellation<TSource, TKey>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, CancellationToken, UniTask<TKey>> keySelector, IEqualityComparer<TKey> comparer)
Parameters
source
IUniTaskAsyncEnumerable<TSource>keySelector
System.Func<TSource, CancellationToken, UniTask<TKey>>comparer
IEqualityComparer<TKey>
Returns
- IUniTaskAsyncEnumerable<TSource>
Type Parameters
TSource
TKey
Do<TSource>(IUniTaskAsyncEnumerable<TSource>, Action<TSource>)
public static IUniTaskAsyncEnumerable<TSource> Do<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Action<TSource> onNext)
Parameters
source
IUniTaskAsyncEnumerable<TSource>onNext
System.Action<TSource>
Returns
- IUniTaskAsyncEnumerable<TSource>
Type Parameters
TSource
Do<TSource>(IUniTaskAsyncEnumerable<TSource>, Action<TSource>, Action)
public static IUniTaskAsyncEnumerable<TSource> Do<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Action<TSource> onNext, Action onCompleted)
Parameters
source
IUniTaskAsyncEnumerable<TSource>onNext
System.Action<TSource>onCompleted
System.Action
Returns
- IUniTaskAsyncEnumerable<TSource>
Type Parameters
TSource
Do<TSource>(IUniTaskAsyncEnumerable<TSource>, Action<TSource>, Action<Exception>)
public static IUniTaskAsyncEnumerable<TSource> Do<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Action<TSource> onNext, Action<Exception> onError)
Parameters
source
IUniTaskAsyncEnumerable<TSource>onNext
System.Action<TSource>onError
System.Action<System.Exception>
Returns
- IUniTaskAsyncEnumerable<TSource>
Type Parameters
TSource
Do<TSource>(IUniTaskAsyncEnumerable<TSource>, Action<TSource>, Action<Exception>, Action)
public static IUniTaskAsyncEnumerable<TSource> Do<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Action<TSource> onNext, Action<Exception> onError, Action onCompleted)
Parameters
source
IUniTaskAsyncEnumerable<TSource>onNext
System.Action<TSource>onError
System.Action<System.Exception>onCompleted
System.Action
Returns
- IUniTaskAsyncEnumerable<TSource>
Type Parameters
TSource
Do<TSource>(IUniTaskAsyncEnumerable<TSource>, IObserver<TSource>)
public static IUniTaskAsyncEnumerable<TSource> Do<TSource>(this IUniTaskAsyncEnumerable<TSource> source, IObserver<TSource> observer)
Parameters
source
IUniTaskAsyncEnumerable<TSource>observer
System.IObserver<TSource>
Returns
- IUniTaskAsyncEnumerable<TSource>
Type Parameters
TSource
ElementAtAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Int32, CancellationToken)
public static UniTask<TSource> ElementAtAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, int index, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>index
System.Int32cancellationToken
CancellationToken
Returns
- UniTask<TSource>
Type Parameters
TSource
ElementAtOrDefaultAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Int32, CancellationToken)
public static UniTask<TSource> ElementAtOrDefaultAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, int index, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>index
System.Int32cancellationToken
CancellationToken
Returns
- UniTask<TSource>
Type Parameters
TSource
Empty<T>()
public static IUniTaskAsyncEnumerable<T> Empty<T>()
Returns
Type Parameters
T
EveryUpdate(PlayerLoopTiming)
public static IUniTaskAsyncEnumerable<AsyncUnit> EveryUpdate(PlayerLoopTiming updateTiming = PlayerLoopTiming.Update)
Parameters
updateTiming
PlayerLoopTiming
Returns
EveryValueChanged<TTarget, TProperty>(TTarget, Func<TTarget, TProperty>, PlayerLoopTiming, IEqualityComparer<TProperty>)
public static IUniTaskAsyncEnumerable<TProperty> EveryValueChanged<TTarget, TProperty>(TTarget target, Func<TTarget, TProperty> propertySelector, PlayerLoopTiming monitorTiming = PlayerLoopTiming.Update, IEqualityComparer<TProperty> equalityComparer = null)
where TTarget : class
Parameters
target
TTargetpropertySelector
System.Func<TTarget, TProperty>monitorTiming
PlayerLoopTimingequalityComparer
IEqualityComparer<TProperty>
Returns
- IUniTaskAsyncEnumerable<TProperty>
Type Parameters
TTarget
TProperty
Except<TSource>(IUniTaskAsyncEnumerable<TSource>, IUniTaskAsyncEnumerable<TSource>)
public static IUniTaskAsyncEnumerable<TSource> Except<TSource>(this IUniTaskAsyncEnumerable<TSource> first, IUniTaskAsyncEnumerable<TSource> second)
Parameters
first
IUniTaskAsyncEnumerable<TSource>second
IUniTaskAsyncEnumerable<TSource>
Returns
- IUniTaskAsyncEnumerable<TSource>
Type Parameters
TSource
Except<TSource>(IUniTaskAsyncEnumerable<TSource>, IUniTaskAsyncEnumerable<TSource>, IEqualityComparer<TSource>)
public static IUniTaskAsyncEnumerable<TSource> Except<TSource>(this IUniTaskAsyncEnumerable<TSource> first, IUniTaskAsyncEnumerable<TSource> second, IEqualityComparer<TSource> comparer)
Parameters
first
IUniTaskAsyncEnumerable<TSource>second
IUniTaskAsyncEnumerable<TSource>comparer
IEqualityComparer<TSource>
Returns
- IUniTaskAsyncEnumerable<TSource>
Type Parameters
TSource
FirstAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, CancellationToken)
public static UniTask<TSource> FirstAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>cancellationToken
CancellationToken
Returns
- UniTask<TSource>
Type Parameters
TSource
FirstAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, Boolean>, CancellationToken)
public static UniTask<TSource> FirstAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, bool> predicate, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>predicate
System.Func<TSource, System.Boolean>cancellationToken
CancellationToken
Returns
- UniTask<TSource>
Type Parameters
TSource
FirstAwaitAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, UniTask<Boolean>>, CancellationToken)
public static UniTask<TSource> FirstAwaitAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, UniTask<bool>> predicate, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>predicate
System.Func<TSource, UniTask<System.Boolean>>cancellationToken
CancellationToken
Returns
- UniTask<TSource>
Type Parameters
TSource
FirstAwaitWithCancellationAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, CancellationToken, UniTask<Boolean>>, CancellationToken)
public static UniTask<TSource> FirstAwaitWithCancellationAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, CancellationToken, UniTask<bool>> predicate, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>predicate
System.Func<TSource, CancellationToken, UniTask<System.Boolean>>cancellationToken
CancellationToken
Returns
- UniTask<TSource>
Type Parameters
TSource
FirstOrDefaultAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, CancellationToken)
public static UniTask<TSource> FirstOrDefaultAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>cancellationToken
CancellationToken
Returns
- UniTask<TSource>
Type Parameters
TSource
FirstOrDefaultAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, Boolean>, CancellationToken)
public static UniTask<TSource> FirstOrDefaultAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, bool> predicate, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>predicate
System.Func<TSource, System.Boolean>cancellationToken
CancellationToken
Returns
- UniTask<TSource>
Type Parameters
TSource
FirstOrDefaultAwaitAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, UniTask<Boolean>>, CancellationToken)
public static UniTask<TSource> FirstOrDefaultAwaitAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, UniTask<bool>> predicate, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>predicate
System.Func<TSource, UniTask<System.Boolean>>cancellationToken
CancellationToken
Returns
- UniTask<TSource>
Type Parameters
TSource
FirstOrDefaultAwaitWithCancellationAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, CancellationToken, UniTask<Boolean>>, CancellationToken)
public static UniTask<TSource> FirstOrDefaultAwaitWithCancellationAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, CancellationToken, UniTask<bool>> predicate, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>predicate
System.Func<TSource, CancellationToken, UniTask<System.Boolean>>cancellationToken
CancellationToken
Returns
- UniTask<TSource>
Type Parameters
TSource
ForEachAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Action<TSource, Int32>, CancellationToken)
public static UniTask ForEachAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Action<TSource, int> action, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>action
System.Action<TSource, System.Int32>cancellationToken
CancellationToken
Returns
Type Parameters
TSource
ForEachAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Action<TSource>, CancellationToken)
public static UniTask ForEachAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Action<TSource> action, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>action
System.Action<TSource>cancellationToken
CancellationToken
Returns
Type Parameters
TSource
ForEachAsync<T>(IUniTaskAsyncEnumerable<T>, Func<T, UniTask>, CancellationToken)
Obsolete(Error), Use Use ForEachAwaitAsync instead.
[Obsolete("Use ForEachAwaitAsync instead.", true)]
public static UniTask ForEachAsync<T>(this IUniTaskAsyncEnumerable<T> source, Func<T, UniTask> action, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<T>action
System.Func<T, UniTask>cancellationToken
CancellationToken
Returns
Type Parameters
T
ForEachAsync<T>(IUniTaskAsyncEnumerable<T>, Func<T, Int32, UniTask>, CancellationToken)
Obsolete(Error), Use Use ForEachAwaitAsync instead.
[Obsolete("Use ForEachAwaitAsync instead.", true)]
public static UniTask ForEachAsync<T>(this IUniTaskAsyncEnumerable<T> source, Func<T, int, UniTask> action, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<T>action
System.Func<T, System.Int32, UniTask>cancellationToken
CancellationToken
Returns
Type Parameters
T
ForEachAwaitAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, UniTask>, CancellationToken)
public static UniTask ForEachAwaitAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, UniTask> action, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>action
System.Func<TSource, UniTask>cancellationToken
CancellationToken
Returns
Type Parameters
TSource
ForEachAwaitAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, Int32, UniTask>, CancellationToken)
public static UniTask ForEachAwaitAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, int, UniTask> action, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>action
System.Func<TSource, System.Int32, UniTask>cancellationToken
CancellationToken
Returns
Type Parameters
TSource
ForEachAwaitWithCancellationAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, CancellationToken, UniTask>, CancellationToken)
public static UniTask ForEachAwaitWithCancellationAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, CancellationToken, UniTask> action, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>action
System.Func<TSource, CancellationToken, UniTask>cancellationToken
CancellationToken
Returns
Type Parameters
TSource
ForEachAwaitWithCancellationAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, Int32, CancellationToken, UniTask>, CancellationToken)
public static UniTask ForEachAwaitWithCancellationAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, int, CancellationToken, UniTask> action, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>action
System.Func<TSource, System.Int32, CancellationToken, UniTask>cancellationToken
CancellationToken
Returns
Type Parameters
TSource
GroupBy<TSource, TKey>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, TKey>)
public static IUniTaskAsyncEnumerable<IGrouping<TKey, TSource>> GroupBy<TSource, TKey>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, TKey> keySelector)
Parameters
source
IUniTaskAsyncEnumerable<TSource>keySelector
System.Func<TSource, TKey>
Returns
- IUniTaskAsyncEnumerable<IGrouping<TKey, TSource>>
Type Parameters
TSource
TKey
GroupBy<TSource, TKey>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, TKey>, IEqualityComparer<TKey>)
public static IUniTaskAsyncEnumerable<IGrouping<TKey, TSource>> GroupBy<TSource, TKey>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, TKey> keySelector, IEqualityComparer<TKey> comparer)
Parameters
source
IUniTaskAsyncEnumerable<TSource>keySelector
System.Func<TSource, TKey>comparer
IEqualityComparer<TKey>
Returns
- IUniTaskAsyncEnumerable<IGrouping<TKey, TSource>>
Type Parameters
TSource
TKey
GroupBy<TSource, TKey, TElement>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, TKey>, Func<TSource, TElement>)
public static IUniTaskAsyncEnumerable<IGrouping<TKey, TElement>> GroupBy<TSource, TKey, TElement>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, TKey> keySelector, Func<TSource, TElement> elementSelector)
Parameters
source
IUniTaskAsyncEnumerable<TSource>keySelector
System.Func<TSource, TKey>elementSelector
System.Func<TSource, TElement>
Returns
- IUniTaskAsyncEnumerable<IGrouping<TKey, TElement>>
Type Parameters
TSource
TKey
TElement
GroupBy<TSource, TKey, TElement>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, TKey>, Func<TSource, TElement>, IEqualityComparer<TKey>)
public static IUniTaskAsyncEnumerable<IGrouping<TKey, TElement>> GroupBy<TSource, TKey, TElement>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, TKey> keySelector, Func<TSource, TElement> elementSelector, IEqualityComparer<TKey> comparer)
Parameters
source
IUniTaskAsyncEnumerable<TSource>keySelector
System.Func<TSource, TKey>elementSelector
System.Func<TSource, TElement>comparer
IEqualityComparer<TKey>
Returns
- IUniTaskAsyncEnumerable<IGrouping<TKey, TElement>>
Type Parameters
TSource
TKey
TElement
GroupBy<TSource, TKey, TResult>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, TKey>, Func<TKey, IEnumerable<TSource>, TResult>)
public static IUniTaskAsyncEnumerable<TResult> GroupBy<TSource, TKey, TResult>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, TKey> keySelector, Func<TKey, IEnumerable<TSource>, TResult> resultSelector)
Parameters
source
IUniTaskAsyncEnumerable<TSource>keySelector
System.Func<TSource, TKey>resultSelector
System.Func<TKey, IEnumerable<TSource>, TResult>
Returns
- IUniTaskAsyncEnumerable<TResult>
Type Parameters
TSource
TKey
TResult
GroupBy<TSource, TKey, TResult>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, TKey>, Func<TKey, IEnumerable<TSource>, TResult>, IEqualityComparer<TKey>)
public static IUniTaskAsyncEnumerable<TResult> GroupBy<TSource, TKey, TResult>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, TKey> keySelector, Func<TKey, IEnumerable<TSource>, TResult> resultSelector, IEqualityComparer<TKey> comparer)
Parameters
source
IUniTaskAsyncEnumerable<TSource>keySelector
System.Func<TSource, TKey>resultSelector
System.Func<TKey, IEnumerable<TSource>, TResult>comparer
IEqualityComparer<TKey>
Returns
- IUniTaskAsyncEnumerable<TResult>
Type Parameters
TSource
TKey
TResult
GroupBy<TSource, TKey, TElement, TResult>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, TKey>, Func<TSource, TElement>, Func<TKey, IEnumerable<TElement>, TResult>)
public static IUniTaskAsyncEnumerable<TResult> GroupBy<TSource, TKey, TElement, TResult>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, TKey> keySelector, Func<TSource, TElement> elementSelector, Func<TKey, IEnumerable<TElement>, TResult> resultSelector)
Parameters
source
IUniTaskAsyncEnumerable<TSource>keySelector
System.Func<TSource, TKey>elementSelector
System.Func<TSource, TElement>resultSelector
System.Func<TKey, IEnumerable<TElement>, TResult>
Returns
- IUniTaskAsyncEnumerable<TResult>
Type Parameters
TSource
TKey
TElement
TResult
GroupBy<TSource, TKey, TElement, TResult>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, TKey>, Func<TSource, TElement>, Func<TKey, IEnumerable<TElement>, TResult>, IEqualityComparer<TKey>)
public static IUniTaskAsyncEnumerable<TResult> GroupBy<TSource, TKey, TElement, TResult>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, TKey> keySelector, Func<TSource, TElement> elementSelector, Func<TKey, IEnumerable<TElement>, TResult> resultSelector, IEqualityComparer<TKey> comparer)
Parameters
source
IUniTaskAsyncEnumerable<TSource>keySelector
System.Func<TSource, TKey>elementSelector
System.Func<TSource, TElement>resultSelector
System.Func<TKey, IEnumerable<TElement>, TResult>comparer
IEqualityComparer<TKey>
Returns
- IUniTaskAsyncEnumerable<TResult>
Type Parameters
TSource
TKey
TElement
TResult
GroupByAwait<TSource, TKey>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, UniTask<TKey>>)
public static IUniTaskAsyncEnumerable<IGrouping<TKey, TSource>> GroupByAwait<TSource, TKey>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, UniTask<TKey>> keySelector)
Parameters
source
IUniTaskAsyncEnumerable<TSource>keySelector
System.Func<TSource, UniTask<TKey>>
Returns
- IUniTaskAsyncEnumerable<IGrouping<TKey, TSource>>
Type Parameters
TSource
TKey
GroupByAwait<TSource, TKey>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, UniTask<TKey>>, IEqualityComparer<TKey>)
public static IUniTaskAsyncEnumerable<IGrouping<TKey, TSource>> GroupByAwait<TSource, TKey>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, UniTask<TKey>> keySelector, IEqualityComparer<TKey> comparer)
Parameters
source
IUniTaskAsyncEnumerable<TSource>keySelector
System.Func<TSource, UniTask<TKey>>comparer
IEqualityComparer<TKey>
Returns
- IUniTaskAsyncEnumerable<IGrouping<TKey, TSource>>
Type Parameters
TSource
TKey
GroupByAwait<TSource, TKey, TElement>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, UniTask<TKey>>, Func<TSource, UniTask<TElement>>)
public static IUniTaskAsyncEnumerable<IGrouping<TKey, TElement>> GroupByAwait<TSource, TKey, TElement>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, UniTask<TKey>> keySelector, Func<TSource, UniTask<TElement>> elementSelector)
Parameters
source
IUniTaskAsyncEnumerable<TSource>keySelector
System.Func<TSource, UniTask<TKey>>elementSelector
System.Func<TSource, UniTask<TElement>>
Returns
- IUniTaskAsyncEnumerable<IGrouping<TKey, TElement>>
Type Parameters
TSource
TKey
TElement
GroupByAwait<TSource, TKey, TElement>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, UniTask<TKey>>, Func<TSource, UniTask<TElement>>, IEqualityComparer<TKey>)
public static IUniTaskAsyncEnumerable<IGrouping<TKey, TElement>> GroupByAwait<TSource, TKey, TElement>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, UniTask<TKey>> keySelector, Func<TSource, UniTask<TElement>> elementSelector, IEqualityComparer<TKey> comparer)
Parameters
source
IUniTaskAsyncEnumerable<TSource>keySelector
System.Func<TSource, UniTask<TKey>>elementSelector
System.Func<TSource, UniTask<TElement>>comparer
IEqualityComparer<TKey>
Returns
- IUniTaskAsyncEnumerable<IGrouping<TKey, TElement>>
Type Parameters
TSource
TKey
TElement
GroupByAwait<TSource, TKey, TResult>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, UniTask<TKey>>, Func<TKey, IEnumerable<TSource>, UniTask<TResult>>)
public static IUniTaskAsyncEnumerable<TResult> GroupByAwait<TSource, TKey, TResult>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, UniTask<TKey>> keySelector, Func<TKey, IEnumerable<TSource>, UniTask<TResult>> resultSelector)
Parameters
source
IUniTaskAsyncEnumerable<TSource>keySelector
System.Func<TSource, UniTask<TKey>>resultSelector
System.Func<TKey, IEnumerable<TSource>, UniTask<TResult>>
Returns
- IUniTaskAsyncEnumerable<TResult>
Type Parameters
TSource
TKey
TResult
GroupByAwait<TSource, TKey, TResult>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, UniTask<TKey>>, Func<TKey, IEnumerable<TSource>, UniTask<TResult>>, IEqualityComparer<TKey>)
public static IUniTaskAsyncEnumerable<TResult> GroupByAwait<TSource, TKey, TResult>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, UniTask<TKey>> keySelector, Func<TKey, IEnumerable<TSource>, UniTask<TResult>> resultSelector, IEqualityComparer<TKey> comparer)
Parameters
source
IUniTaskAsyncEnumerable<TSource>keySelector
System.Func<TSource, UniTask<TKey>>resultSelector
System.Func<TKey, IEnumerable<TSource>, UniTask<TResult>>comparer
IEqualityComparer<TKey>
Returns
- IUniTaskAsyncEnumerable<TResult>
Type Parameters
TSource
TKey
TResult
GroupByAwait<TSource, TKey, TElement, TResult>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, UniTask<TKey>>, Func<TSource, UniTask<TElement>>, Func<TKey, IEnumerable<TElement>, UniTask<TResult>>)
public static IUniTaskAsyncEnumerable<TResult> GroupByAwait<TSource, TKey, TElement, TResult>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, UniTask<TKey>> keySelector, Func<TSource, UniTask<TElement>> elementSelector, Func<TKey, IEnumerable<TElement>, UniTask<TResult>> resultSelector)
Parameters
source
IUniTaskAsyncEnumerable<TSource>keySelector
System.Func<TSource, UniTask<TKey>>elementSelector
System.Func<TSource, UniTask<TElement>>resultSelector
System.Func<TKey, IEnumerable<TElement>, UniTask<TResult>>
Returns
- IUniTaskAsyncEnumerable<TResult>
Type Parameters
TSource
TKey
TElement
TResult
GroupByAwait<TSource, TKey, TElement, TResult>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, UniTask<TKey>>, Func<TSource, UniTask<TElement>>, Func<TKey, IEnumerable<TElement>, UniTask<TResult>>, IEqualityComparer<TKey>)
public static IUniTaskAsyncEnumerable<TResult> GroupByAwait<TSource, TKey, TElement, TResult>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, UniTask<TKey>> keySelector, Func<TSource, UniTask<TElement>> elementSelector, Func<TKey, IEnumerable<TElement>, UniTask<TResult>> resultSelector, IEqualityComparer<TKey> comparer)
Parameters
source
IUniTaskAsyncEnumerable<TSource>keySelector
System.Func<TSource, UniTask<TKey>>elementSelector
System.Func<TSource, UniTask<TElement>>resultSelector
System.Func<TKey, IEnumerable<TElement>, UniTask<TResult>>comparer
IEqualityComparer<TKey>
Returns
- IUniTaskAsyncEnumerable<TResult>
Type Parameters
TSource
TKey
TElement
TResult
GroupByAwaitWithCancellation<TSource, TKey>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, CancellationToken, UniTask<TKey>>)
public static IUniTaskAsyncEnumerable<IGrouping<TKey, TSource>> GroupByAwaitWithCancellation<TSource, TKey>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, CancellationToken, UniTask<TKey>> keySelector)
Parameters
source
IUniTaskAsyncEnumerable<TSource>keySelector
System.Func<TSource, CancellationToken, UniTask<TKey>>
Returns
- IUniTaskAsyncEnumerable<IGrouping<TKey, TSource>>
Type Parameters
TSource
TKey
GroupByAwaitWithCancellation<TSource, TKey>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, CancellationToken, UniTask<TKey>>, IEqualityComparer<TKey>)
public static IUniTaskAsyncEnumerable<IGrouping<TKey, TSource>> GroupByAwaitWithCancellation<TSource, TKey>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, CancellationToken, UniTask<TKey>> keySelector, IEqualityComparer<TKey> comparer)
Parameters
source
IUniTaskAsyncEnumerable<TSource>keySelector
System.Func<TSource, CancellationToken, UniTask<TKey>>comparer
IEqualityComparer<TKey>
Returns
- IUniTaskAsyncEnumerable<IGrouping<TKey, TSource>>
Type Parameters
TSource
TKey
GroupByAwaitWithCancellation<TSource, TKey, TElement>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, CancellationToken, UniTask<TKey>>, Func<TSource, CancellationToken, UniTask<TElement>>)
public static IUniTaskAsyncEnumerable<IGrouping<TKey, TElement>> GroupByAwaitWithCancellation<TSource, TKey, TElement>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, CancellationToken, UniTask<TKey>> keySelector, Func<TSource, CancellationToken, UniTask<TElement>> elementSelector)
Parameters
source
IUniTaskAsyncEnumerable<TSource>keySelector
System.Func<TSource, CancellationToken, UniTask<TKey>>elementSelector
System.Func<TSource, CancellationToken, UniTask<TElement>>
Returns
- IUniTaskAsyncEnumerable<IGrouping<TKey, TElement>>
Type Parameters
TSource
TKey
TElement
GroupByAwaitWithCancellation<TSource, TKey, TElement>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, CancellationToken, UniTask<TKey>>, Func<TSource, CancellationToken, UniTask<TElement>>, IEqualityComparer<TKey>)
public static IUniTaskAsyncEnumerable<IGrouping<TKey, TElement>> GroupByAwaitWithCancellation<TSource, TKey, TElement>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, CancellationToken, UniTask<TKey>> keySelector, Func<TSource, CancellationToken, UniTask<TElement>> elementSelector, IEqualityComparer<TKey> comparer)
Parameters
source
IUniTaskAsyncEnumerable<TSource>keySelector
System.Func<TSource, CancellationToken, UniTask<TKey>>elementSelector
System.Func<TSource, CancellationToken, UniTask<TElement>>comparer
IEqualityComparer<TKey>
Returns
- IUniTaskAsyncEnumerable<IGrouping<TKey, TElement>>
Type Parameters
TSource
TKey
TElement
GroupByAwaitWithCancellation<TSource, TKey, TResult>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, CancellationToken, UniTask<TKey>>, Func<TKey, IEnumerable<TSource>, CancellationToken, UniTask<TResult>>)
public static IUniTaskAsyncEnumerable<TResult> GroupByAwaitWithCancellation<TSource, TKey, TResult>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, CancellationToken, UniTask<TKey>> keySelector, Func<TKey, IEnumerable<TSource>, CancellationToken, UniTask<TResult>> resultSelector)
Parameters
source
IUniTaskAsyncEnumerable<TSource>keySelector
System.Func<TSource, CancellationToken, UniTask<TKey>>resultSelector
System.Func<TKey, IEnumerable<TSource>, CancellationToken, UniTask<TResult>>
Returns
- IUniTaskAsyncEnumerable<TResult>
Type Parameters
TSource
TKey
TResult
GroupByAwaitWithCancellation<TSource, TKey, TResult>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, CancellationToken, UniTask<TKey>>, Func<TKey, IEnumerable<TSource>, CancellationToken, UniTask<TResult>>, IEqualityComparer<TKey>)
public static IUniTaskAsyncEnumerable<TResult> GroupByAwaitWithCancellation<TSource, TKey, TResult>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, CancellationToken, UniTask<TKey>> keySelector, Func<TKey, IEnumerable<TSource>, CancellationToken, UniTask<TResult>> resultSelector, IEqualityComparer<TKey> comparer)
Parameters
source
IUniTaskAsyncEnumerable<TSource>keySelector
System.Func<TSource, CancellationToken, UniTask<TKey>>resultSelector
System.Func<TKey, IEnumerable<TSource>, CancellationToken, UniTask<TResult>>comparer
IEqualityComparer<TKey>
Returns
- IUniTaskAsyncEnumerable<TResult>
Type Parameters
TSource
TKey
TResult
GroupByAwaitWithCancellation<TSource, TKey, TElement, TResult>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, CancellationToken, UniTask<TKey>>, Func<TSource, CancellationToken, UniTask<TElement>>, Func<TKey, IEnumerable<TElement>, CancellationToken, UniTask<TResult>>)
public static IUniTaskAsyncEnumerable<TResult> GroupByAwaitWithCancellation<TSource, TKey, TElement, TResult>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, CancellationToken, UniTask<TKey>> keySelector, Func<TSource, CancellationToken, UniTask<TElement>> elementSelector, Func<TKey, IEnumerable<TElement>, CancellationToken, UniTask<TResult>> resultSelector)
Parameters
source
IUniTaskAsyncEnumerable<TSource>keySelector
System.Func<TSource, CancellationToken, UniTask<TKey>>elementSelector
System.Func<TSource, CancellationToken, UniTask<TElement>>resultSelector
System.Func<TKey, IEnumerable<TElement>, CancellationToken, UniTask<TResult>>
Returns
- IUniTaskAsyncEnumerable<TResult>
Type Parameters
TSource
TKey
TElement
TResult
GroupByAwaitWithCancellation<TSource, TKey, TElement, TResult>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, CancellationToken, UniTask<TKey>>, Func<TSource, CancellationToken, UniTask<TElement>>, Func<TKey, IEnumerable<TElement>, CancellationToken, UniTask<TResult>>, IEqualityComparer<TKey>)
public static IUniTaskAsyncEnumerable<TResult> GroupByAwaitWithCancellation<TSource, TKey, TElement, TResult>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, CancellationToken, UniTask<TKey>> keySelector, Func<TSource, CancellationToken, UniTask<TElement>> elementSelector, Func<TKey, IEnumerable<TElement>, CancellationToken, UniTask<TResult>> resultSelector, IEqualityComparer<TKey> comparer)
Parameters
source
IUniTaskAsyncEnumerable<TSource>keySelector
System.Func<TSource, CancellationToken, UniTask<TKey>>elementSelector
System.Func<TSource, CancellationToken, UniTask<TElement>>resultSelector
System.Func<TKey, IEnumerable<TElement>, CancellationToken, UniTask<TResult>>comparer
IEqualityComparer<TKey>
Returns
- IUniTaskAsyncEnumerable<TResult>
Type Parameters
TSource
TKey
TElement
TResult
GroupJoin<TOuter, TInner, TKey, TResult>(IUniTaskAsyncEnumerable<TOuter>, IUniTaskAsyncEnumerable<TInner>, Func<TOuter, TKey>, Func<TInner, TKey>, Func<TOuter, IEnumerable<TInner>, TResult>)
public static IUniTaskAsyncEnumerable<TResult> GroupJoin<TOuter, TInner, TKey, TResult>(this IUniTaskAsyncEnumerable<TOuter> outer, IUniTaskAsyncEnumerable<TInner> inner, Func<TOuter, TKey> outerKeySelector, Func<TInner, TKey> innerKeySelector, Func<TOuter, IEnumerable<TInner>, TResult> resultSelector)
Parameters
outer
IUniTaskAsyncEnumerable<TOuter>inner
IUniTaskAsyncEnumerable<TInner>outerKeySelector
System.Func<TOuter, TKey>innerKeySelector
System.Func<TInner, TKey>resultSelector
System.Func<TOuter, IEnumerable<TInner>, TResult>
Returns
- IUniTaskAsyncEnumerable<TResult>
Type Parameters
TOuter
TInner
TKey
TResult
GroupJoin<TOuter, TInner, TKey, TResult>(IUniTaskAsyncEnumerable<TOuter>, IUniTaskAsyncEnumerable<TInner>, Func<TOuter, TKey>, Func<TInner, TKey>, Func<TOuter, IEnumerable<TInner>, TResult>, IEqualityComparer<TKey>)
public static IUniTaskAsyncEnumerable<TResult> GroupJoin<TOuter, TInner, TKey, TResult>(this IUniTaskAsyncEnumerable<TOuter> outer, IUniTaskAsyncEnumerable<TInner> inner, Func<TOuter, TKey> outerKeySelector, Func<TInner, TKey> innerKeySelector, Func<TOuter, IEnumerable<TInner>, TResult> resultSelector, IEqualityComparer<TKey> comparer)
Parameters
outer
IUniTaskAsyncEnumerable<TOuter>inner
IUniTaskAsyncEnumerable<TInner>outerKeySelector
System.Func<TOuter, TKey>innerKeySelector
System.Func<TInner, TKey>resultSelector
System.Func<TOuter, IEnumerable<TInner>, TResult>comparer
IEqualityComparer<TKey>
Returns
- IUniTaskAsyncEnumerable<TResult>
Type Parameters
TOuter
TInner
TKey
TResult
GroupJoinAwait<TOuter, TInner, TKey, TResult>(IUniTaskAsyncEnumerable<TOuter>, IUniTaskAsyncEnumerable<TInner>, Func<TOuter, UniTask<TKey>>, Func<TInner, UniTask<TKey>>, Func<TOuter, IEnumerable<TInner>, UniTask<TResult>>)
public static IUniTaskAsyncEnumerable<TResult> GroupJoinAwait<TOuter, TInner, TKey, TResult>(this IUniTaskAsyncEnumerable<TOuter> outer, IUniTaskAsyncEnumerable<TInner> inner, Func<TOuter, UniTask<TKey>> outerKeySelector, Func<TInner, UniTask<TKey>> innerKeySelector, Func<TOuter, IEnumerable<TInner>, UniTask<TResult>> resultSelector)
Parameters
outer
IUniTaskAsyncEnumerable<TOuter>inner
IUniTaskAsyncEnumerable<TInner>outerKeySelector
System.Func<TOuter, UniTask<TKey>>innerKeySelector
System.Func<TInner, UniTask<TKey>>resultSelector
System.Func<TOuter, IEnumerable<TInner>, UniTask<TResult>>
Returns
- IUniTaskAsyncEnumerable<TResult>
Type Parameters
TOuter
TInner
TKey
TResult
GroupJoinAwait<TOuter, TInner, TKey, TResult>(IUniTaskAsyncEnumerable<TOuter>, IUniTaskAsyncEnumerable<TInner>, Func<TOuter, UniTask<TKey>>, Func<TInner, UniTask<TKey>>, Func<TOuter, IEnumerable<TInner>, UniTask<TResult>>, IEqualityComparer<TKey>)
public static IUniTaskAsyncEnumerable<TResult> GroupJoinAwait<TOuter, TInner, TKey, TResult>(this IUniTaskAsyncEnumerable<TOuter> outer, IUniTaskAsyncEnumerable<TInner> inner, Func<TOuter, UniTask<TKey>> outerKeySelector, Func<TInner, UniTask<TKey>> innerKeySelector, Func<TOuter, IEnumerable<TInner>, UniTask<TResult>> resultSelector, IEqualityComparer<TKey> comparer)
Parameters
outer
IUniTaskAsyncEnumerable<TOuter>inner
IUniTaskAsyncEnumerable<TInner>outerKeySelector
System.Func<TOuter, UniTask<TKey>>innerKeySelector
System.Func<TInner, UniTask<TKey>>resultSelector
System.Func<TOuter, IEnumerable<TInner>, UniTask<TResult>>comparer
IEqualityComparer<TKey>
Returns
- IUniTaskAsyncEnumerable<TResult>
Type Parameters
TOuter
TInner
TKey
TResult
GroupJoinAwaitWithCancellation<TOuter, TInner, TKey, TResult>(IUniTaskAsyncEnumerable<TOuter>, IUniTaskAsyncEnumerable<TInner>, Func<TOuter, CancellationToken, UniTask<TKey>>, Func<TInner, CancellationToken, UniTask<TKey>>, Func<TOuter, IEnumerable<TInner>, CancellationToken, UniTask<TResult>>)
public static IUniTaskAsyncEnumerable<TResult> GroupJoinAwaitWithCancellation<TOuter, TInner, TKey, TResult>(this IUniTaskAsyncEnumerable<TOuter> outer, IUniTaskAsyncEnumerable<TInner> inner, Func<TOuter, CancellationToken, UniTask<TKey>> outerKeySelector, Func<TInner, CancellationToken, UniTask<TKey>> innerKeySelector, Func<TOuter, IEnumerable<TInner>, CancellationToken, UniTask<TResult>> resultSelector)
Parameters
outer
IUniTaskAsyncEnumerable<TOuter>inner
IUniTaskAsyncEnumerable<TInner>outerKeySelector
System.Func<TOuter, CancellationToken, UniTask<TKey>>innerKeySelector
System.Func<TInner, CancellationToken, UniTask<TKey>>resultSelector
System.Func<TOuter, IEnumerable<TInner>, CancellationToken, UniTask<TResult>>
Returns
- IUniTaskAsyncEnumerable<TResult>
Type Parameters
TOuter
TInner
TKey
TResult
GroupJoinAwaitWithCancellation<TOuter, TInner, TKey, TResult>(IUniTaskAsyncEnumerable<TOuter>, IUniTaskAsyncEnumerable<TInner>, Func<TOuter, CancellationToken, UniTask<TKey>>, Func<TInner, CancellationToken, UniTask<TKey>>, Func<TOuter, IEnumerable<TInner>, CancellationToken, UniTask<TResult>>, IEqualityComparer<TKey>)
public static IUniTaskAsyncEnumerable<TResult> GroupJoinAwaitWithCancellation<TOuter, TInner, TKey, TResult>(this IUniTaskAsyncEnumerable<TOuter> outer, IUniTaskAsyncEnumerable<TInner> inner, Func<TOuter, CancellationToken, UniTask<TKey>> outerKeySelector, Func<TInner, CancellationToken, UniTask<TKey>> innerKeySelector, Func<TOuter, IEnumerable<TInner>, CancellationToken, UniTask<TResult>> resultSelector, IEqualityComparer<TKey> comparer)
Parameters
outer
IUniTaskAsyncEnumerable<TOuter>inner
IUniTaskAsyncEnumerable<TInner>outerKeySelector
System.Func<TOuter, CancellationToken, UniTask<TKey>>innerKeySelector
System.Func<TInner, CancellationToken, UniTask<TKey>>resultSelector
System.Func<TOuter, IEnumerable<TInner>, CancellationToken, UniTask<TResult>>comparer
IEqualityComparer<TKey>
Returns
- IUniTaskAsyncEnumerable<TResult>
Type Parameters
TOuter
TInner
TKey
TResult
Intersect<TSource>(IUniTaskAsyncEnumerable<TSource>, IUniTaskAsyncEnumerable<TSource>)
public static IUniTaskAsyncEnumerable<TSource> Intersect<TSource>(this IUniTaskAsyncEnumerable<TSource> first, IUniTaskAsyncEnumerable<TSource> second)
Parameters
first
IUniTaskAsyncEnumerable<TSource>second
IUniTaskAsyncEnumerable<TSource>
Returns
- IUniTaskAsyncEnumerable<TSource>
Type Parameters
TSource
Intersect<TSource>(IUniTaskAsyncEnumerable<TSource>, IUniTaskAsyncEnumerable<TSource>, IEqualityComparer<TSource>)
public static IUniTaskAsyncEnumerable<TSource> Intersect<TSource>(this IUniTaskAsyncEnumerable<TSource> first, IUniTaskAsyncEnumerable<TSource> second, IEqualityComparer<TSource> comparer)
Parameters
first
IUniTaskAsyncEnumerable<TSource>second
IUniTaskAsyncEnumerable<TSource>comparer
IEqualityComparer<TSource>
Returns
- IUniTaskAsyncEnumerable<TSource>
Type Parameters
TSource
Interval(TimeSpan, PlayerLoopTiming, Boolean)
public static IUniTaskAsyncEnumerable<AsyncUnit> Interval(TimeSpan period, PlayerLoopTiming updateTiming = PlayerLoopTiming.Update, bool ignoreTimeScale = false)
Parameters
period
System.TimeSpanupdateTiming
PlayerLoopTimingignoreTimeScale
System.Boolean
Returns
IntervalFrame(Int32, PlayerLoopTiming)
public static IUniTaskAsyncEnumerable<AsyncUnit> IntervalFrame(int intervalFrameCount, PlayerLoopTiming updateTiming = PlayerLoopTiming.Update)
Parameters
intervalFrameCount
System.Int32updateTiming
PlayerLoopTiming
Returns
Join<TOuter, TInner, TKey, TResult>(IUniTaskAsyncEnumerable<TOuter>, IUniTaskAsyncEnumerable<TInner>, Func<TOuter, TKey>, Func<TInner, TKey>, Func<TOuter, TInner, TResult>)
public static IUniTaskAsyncEnumerable<TResult> Join<TOuter, TInner, TKey, TResult>(this IUniTaskAsyncEnumerable<TOuter> outer, IUniTaskAsyncEnumerable<TInner> inner, Func<TOuter, TKey> outerKeySelector, Func<TInner, TKey> innerKeySelector, Func<TOuter, TInner, TResult> resultSelector)
Parameters
outer
IUniTaskAsyncEnumerable<TOuter>inner
IUniTaskAsyncEnumerable<TInner>outerKeySelector
System.Func<TOuter, TKey>innerKeySelector
System.Func<TInner, TKey>resultSelector
System.Func<TOuter, TInner, TResult>
Returns
- IUniTaskAsyncEnumerable<TResult>
Type Parameters
TOuter
TInner
TKey
TResult
Join<TOuter, TInner, TKey, TResult>(IUniTaskAsyncEnumerable<TOuter>, IUniTaskAsyncEnumerable<TInner>, Func<TOuter, TKey>, Func<TInner, TKey>, Func<TOuter, TInner, TResult>, IEqualityComparer<TKey>)
public static IUniTaskAsyncEnumerable<TResult> Join<TOuter, TInner, TKey, TResult>(this IUniTaskAsyncEnumerable<TOuter> outer, IUniTaskAsyncEnumerable<TInner> inner, Func<TOuter, TKey> outerKeySelector, Func<TInner, TKey> innerKeySelector, Func<TOuter, TInner, TResult> resultSelector, IEqualityComparer<TKey> comparer)
Parameters
outer
IUniTaskAsyncEnumerable<TOuter>inner
IUniTaskAsyncEnumerable<TInner>outerKeySelector
System.Func<TOuter, TKey>innerKeySelector
System.Func<TInner, TKey>resultSelector
System.Func<TOuter, TInner, TResult>comparer
IEqualityComparer<TKey>
Returns
- IUniTaskAsyncEnumerable<TResult>
Type Parameters
TOuter
TInner
TKey
TResult
JoinAwait<TOuter, TInner, TKey, TResult>(IUniTaskAsyncEnumerable<TOuter>, IUniTaskAsyncEnumerable<TInner>, Func<TOuter, UniTask<TKey>>, Func<TInner, UniTask<TKey>>, Func<TOuter, TInner, UniTask<TResult>>)
public static IUniTaskAsyncEnumerable<TResult> JoinAwait<TOuter, TInner, TKey, TResult>(this IUniTaskAsyncEnumerable<TOuter> outer, IUniTaskAsyncEnumerable<TInner> inner, Func<TOuter, UniTask<TKey>> outerKeySelector, Func<TInner, UniTask<TKey>> innerKeySelector, Func<TOuter, TInner, UniTask<TResult>> resultSelector)
Parameters
outer
IUniTaskAsyncEnumerable<TOuter>inner
IUniTaskAsyncEnumerable<TInner>outerKeySelector
System.Func<TOuter, UniTask<TKey>>innerKeySelector
System.Func<TInner, UniTask<TKey>>resultSelector
System.Func<TOuter, TInner, UniTask<TResult>>
Returns
- IUniTaskAsyncEnumerable<TResult>
Type Parameters
TOuter
TInner
TKey
TResult
JoinAwait<TOuter, TInner, TKey, TResult>(IUniTaskAsyncEnumerable<TOuter>, IUniTaskAsyncEnumerable<TInner>, Func<TOuter, UniTask<TKey>>, Func<TInner, UniTask<TKey>>, Func<TOuter, TInner, UniTask<TResult>>, IEqualityComparer<TKey>)
public static IUniTaskAsyncEnumerable<TResult> JoinAwait<TOuter, TInner, TKey, TResult>(this IUniTaskAsyncEnumerable<TOuter> outer, IUniTaskAsyncEnumerable<TInner> inner, Func<TOuter, UniTask<TKey>> outerKeySelector, Func<TInner, UniTask<TKey>> innerKeySelector, Func<TOuter, TInner, UniTask<TResult>> resultSelector, IEqualityComparer<TKey> comparer)
Parameters
outer
IUniTaskAsyncEnumerable<TOuter>inner
IUniTaskAsyncEnumerable<TInner>outerKeySelector
System.Func<TOuter, UniTask<TKey>>innerKeySelector
System.Func<TInner, UniTask<TKey>>resultSelector
System.Func<TOuter, TInner, UniTask<TResult>>comparer
IEqualityComparer<TKey>
Returns
- IUniTaskAsyncEnumerable<TResult>
Type Parameters
TOuter
TInner
TKey
TResult
JoinAwaitWithCancellation<TOuter, TInner, TKey, TResult>(IUniTaskAsyncEnumerable<TOuter>, IUniTaskAsyncEnumerable<TInner>, Func<TOuter, CancellationToken, UniTask<TKey>>, Func<TInner, CancellationToken, UniTask<TKey>>, Func<TOuter, TInner, CancellationToken, UniTask<TResult>>)
public static IUniTaskAsyncEnumerable<TResult> JoinAwaitWithCancellation<TOuter, TInner, TKey, TResult>(this IUniTaskAsyncEnumerable<TOuter> outer, IUniTaskAsyncEnumerable<TInner> inner, Func<TOuter, CancellationToken, UniTask<TKey>> outerKeySelector, Func<TInner, CancellationToken, UniTask<TKey>> innerKeySelector, Func<TOuter, TInner, CancellationToken, UniTask<TResult>> resultSelector)
Parameters
outer
IUniTaskAsyncEnumerable<TOuter>inner
IUniTaskAsyncEnumerable<TInner>outerKeySelector
System.Func<TOuter, CancellationToken, UniTask<TKey>>innerKeySelector
System.Func<TInner, CancellationToken, UniTask<TKey>>resultSelector
System.Func<TOuter, TInner, CancellationToken, UniTask<TResult>>
Returns
- IUniTaskAsyncEnumerable<TResult>
Type Parameters
TOuter
TInner
TKey
TResult
JoinAwaitWithCancellation<TOuter, TInner, TKey, TResult>(IUniTaskAsyncEnumerable<TOuter>, IUniTaskAsyncEnumerable<TInner>, Func<TOuter, CancellationToken, UniTask<TKey>>, Func<TInner, CancellationToken, UniTask<TKey>>, Func<TOuter, TInner, CancellationToken, UniTask<TResult>>, IEqualityComparer<TKey>)
public static IUniTaskAsyncEnumerable<TResult> JoinAwaitWithCancellation<TOuter, TInner, TKey, TResult>(this IUniTaskAsyncEnumerable<TOuter> outer, IUniTaskAsyncEnumerable<TInner> inner, Func<TOuter, CancellationToken, UniTask<TKey>> outerKeySelector, Func<TInner, CancellationToken, UniTask<TKey>> innerKeySelector, Func<TOuter, TInner, CancellationToken, UniTask<TResult>> resultSelector, IEqualityComparer<TKey> comparer)
Parameters
outer
IUniTaskAsyncEnumerable<TOuter>inner
IUniTaskAsyncEnumerable<TInner>outerKeySelector
System.Func<TOuter, CancellationToken, UniTask<TKey>>innerKeySelector
System.Func<TInner, CancellationToken, UniTask<TKey>>resultSelector
System.Func<TOuter, TInner, CancellationToken, UniTask<TResult>>comparer
IEqualityComparer<TKey>
Returns
- IUniTaskAsyncEnumerable<TResult>
Type Parameters
TOuter
TInner
TKey
TResult
LastAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, CancellationToken)
public static UniTask<TSource> LastAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>cancellationToken
CancellationToken
Returns
- UniTask<TSource>
Type Parameters
TSource
LastAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, Boolean>, CancellationToken)
public static UniTask<TSource> LastAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, bool> predicate, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>predicate
System.Func<TSource, System.Boolean>cancellationToken
CancellationToken
Returns
- UniTask<TSource>
Type Parameters
TSource
LastAwaitAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, UniTask<Boolean>>, CancellationToken)
public static UniTask<TSource> LastAwaitAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, UniTask<bool>> predicate, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>predicate
System.Func<TSource, UniTask<System.Boolean>>cancellationToken
CancellationToken
Returns
- UniTask<TSource>
Type Parameters
TSource
LastAwaitWithCancellationAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, CancellationToken, UniTask<Boolean>>, CancellationToken)
public static UniTask<TSource> LastAwaitWithCancellationAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, CancellationToken, UniTask<bool>> predicate, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>predicate
System.Func<TSource, CancellationToken, UniTask<System.Boolean>>cancellationToken
CancellationToken
Returns
- UniTask<TSource>
Type Parameters
TSource
LastOrDefaultAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, CancellationToken)
public static UniTask<TSource> LastOrDefaultAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>cancellationToken
CancellationToken
Returns
- UniTask<TSource>
Type Parameters
TSource
LastOrDefaultAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, Boolean>, CancellationToken)
public static UniTask<TSource> LastOrDefaultAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, bool> predicate, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>predicate
System.Func<TSource, System.Boolean>cancellationToken
CancellationToken
Returns
- UniTask<TSource>
Type Parameters
TSource
LastOrDefaultAwaitAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, UniTask<Boolean>>, CancellationToken)
public static UniTask<TSource> LastOrDefaultAwaitAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, UniTask<bool>> predicate, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>predicate
System.Func<TSource, UniTask<System.Boolean>>cancellationToken
CancellationToken
Returns
- UniTask<TSource>
Type Parameters
TSource
LastOrDefaultAwaitWithCancellationAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, CancellationToken, UniTask<Boolean>>, CancellationToken)
public static UniTask<TSource> LastOrDefaultAwaitWithCancellationAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, CancellationToken, UniTask<bool>> predicate, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>predicate
System.Func<TSource, CancellationToken, UniTask<System.Boolean>>cancellationToken
CancellationToken
Returns
- UniTask<TSource>
Type Parameters
TSource
LongCountAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, CancellationToken)
public static UniTask<long> LongCountAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>cancellationToken
CancellationToken
Returns
- UniTask<System.Int64>
Type Parameters
TSource
LongCountAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, Boolean>, CancellationToken)
public static UniTask<long> LongCountAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, bool> predicate, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>predicate
System.Func<TSource, System.Boolean>cancellationToken
CancellationToken
Returns
- UniTask<System.Int64>
Type Parameters
TSource
LongCountAwaitAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, UniTask<Boolean>>, CancellationToken)
public static UniTask<long> LongCountAwaitAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, UniTask<bool>> predicate, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>predicate
System.Func<TSource, UniTask<System.Boolean>>cancellationToken
CancellationToken
Returns
- UniTask<System.Int64>
Type Parameters
TSource
LongCountAwaitWithCancellationAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, CancellationToken, UniTask<Boolean>>, CancellationToken)
public static UniTask<long> LongCountAwaitWithCancellationAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, CancellationToken, UniTask<bool>> predicate, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>predicate
System.Func<TSource, CancellationToken, UniTask<System.Boolean>>cancellationToken
CancellationToken
Returns
- UniTask<System.Int64>
Type Parameters
TSource
MaxAsync(IUniTaskAsyncEnumerable<Decimal>, CancellationToken)
public static UniTask<decimal> MaxAsync(this IUniTaskAsyncEnumerable<decimal> source, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<System.Decimal>cancellationToken
CancellationToken
Returns
- UniTask<System.Decimal>
MaxAsync(IUniTaskAsyncEnumerable<Double>, CancellationToken)
public static UniTask<double> MaxAsync(this IUniTaskAsyncEnumerable<double> source, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<System.Double>cancellationToken
CancellationToken
Returns
- UniTask<System.Double>
MaxAsync(IUniTaskAsyncEnumerable<Int32>, CancellationToken)
public static UniTask<int> MaxAsync(this IUniTaskAsyncEnumerable<int> source, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<System.Int32>cancellationToken
CancellationToken
Returns
- UniTask<System.Int32>
MaxAsync(IUniTaskAsyncEnumerable<Int64>, CancellationToken)
public static UniTask<long> MaxAsync(this IUniTaskAsyncEnumerable<long> source, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<System.Int64>cancellationToken
CancellationToken
Returns
- UniTask<System.Int64>
MaxAsync(IUniTaskAsyncEnumerable<Nullable<Decimal>>, CancellationToken)
public static UniTask<decimal?> MaxAsync(this IUniTaskAsyncEnumerable<decimal?> source, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<System.Nullable<System.Decimal>>cancellationToken
CancellationToken
Returns
- UniTask<System.Nullable<System.Decimal>>
MaxAsync(IUniTaskAsyncEnumerable<Nullable<Double>>, CancellationToken)
public static UniTask<double?> MaxAsync(this IUniTaskAsyncEnumerable<double?> source, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<System.Nullable<System.Double>>cancellationToken
CancellationToken
Returns
- UniTask<System.Nullable<System.Double>>
MaxAsync(IUniTaskAsyncEnumerable<Nullable<Int32>>, CancellationToken)
public static UniTask<int?> MaxAsync(this IUniTaskAsyncEnumerable<int?> source, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<System.Nullable<System.Int32>>cancellationToken
CancellationToken
Returns
- UniTask<System.Nullable<System.Int32>>
MaxAsync(IUniTaskAsyncEnumerable<Nullable<Int64>>, CancellationToken)
public static UniTask<long?> MaxAsync(this IUniTaskAsyncEnumerable<long?> source, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<System.Nullable<System.Int64>>cancellationToken
CancellationToken
Returns
- UniTask<System.Nullable<System.Int64>>
MaxAsync(IUniTaskAsyncEnumerable<Nullable<Single>>, CancellationToken)
public static UniTask<float?> MaxAsync(this IUniTaskAsyncEnumerable<float?> source, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<System.Nullable<System.Single>>cancellationToken
CancellationToken
Returns
- UniTask<System.Nullable<System.Single>>
MaxAsync(IUniTaskAsyncEnumerable<Single>, CancellationToken)
public static UniTask<float> MaxAsync(this IUniTaskAsyncEnumerable<float> source, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<System.Single>cancellationToken
CancellationToken
Returns
- UniTask<System.Single>
MaxAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, CancellationToken)
public static UniTask<TSource> MaxAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>cancellationToken
CancellationToken
Returns
- UniTask<TSource>
Type Parameters
TSource
MaxAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, Decimal>, CancellationToken)
public static UniTask<decimal> MaxAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, decimal> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, System.Decimal>cancellationToken
CancellationToken
Returns
- UniTask<System.Decimal>
Type Parameters
TSource
MaxAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, Double>, CancellationToken)
public static UniTask<double> MaxAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, double> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, System.Double>cancellationToken
CancellationToken
Returns
- UniTask<System.Double>
Type Parameters
TSource
MaxAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, Int32>, CancellationToken)
public static UniTask<int> MaxAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, int> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, System.Int32>cancellationToken
CancellationToken
Returns
- UniTask<System.Int32>
Type Parameters
TSource
MaxAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, Int64>, CancellationToken)
public static UniTask<long> MaxAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, long> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, System.Int64>cancellationToken
CancellationToken
Returns
- UniTask<System.Int64>
Type Parameters
TSource
MaxAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, Nullable<Decimal>>, CancellationToken)
public static UniTask<decimal?> MaxAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, decimal?> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, System.Nullable<System.Decimal>>cancellationToken
CancellationToken
Returns
- UniTask<System.Nullable<System.Decimal>>
Type Parameters
TSource
MaxAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, Nullable<Double>>, CancellationToken)
public static UniTask<double?> MaxAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, double?> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, System.Nullable<System.Double>>cancellationToken
CancellationToken
Returns
- UniTask<System.Nullable<System.Double>>
Type Parameters
TSource
MaxAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, Nullable<Int32>>, CancellationToken)
public static UniTask<int?> MaxAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, int?> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, System.Nullable<System.Int32>>cancellationToken
CancellationToken
Returns
- UniTask<System.Nullable<System.Int32>>
Type Parameters
TSource
MaxAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, Nullable<Int64>>, CancellationToken)
public static UniTask<long?> MaxAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, long?> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, System.Nullable<System.Int64>>cancellationToken
CancellationToken
Returns
- UniTask<System.Nullable<System.Int64>>
Type Parameters
TSource
MaxAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, Nullable<Single>>, CancellationToken)
public static UniTask<float?> MaxAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, float?> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, System.Nullable<System.Single>>cancellationToken
CancellationToken
Returns
- UniTask<System.Nullable<System.Single>>
Type Parameters
TSource
MaxAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, Single>, CancellationToken)
public static UniTask<float> MaxAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, float> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, System.Single>cancellationToken
CancellationToken
Returns
- UniTask<System.Single>
Type Parameters
TSource
MaxAsync<TSource, TResult>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, TResult>, CancellationToken)
public static UniTask<TResult> MaxAsync<TSource, TResult>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, TResult> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, TResult>cancellationToken
CancellationToken
Returns
- UniTask<TResult>
Type Parameters
TSource
TResult
MaxAwaitAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, UniTask<Decimal>>, CancellationToken)
public static UniTask<decimal> MaxAwaitAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, UniTask<decimal>> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, UniTask<System.Decimal>>cancellationToken
CancellationToken
Returns
- UniTask<System.Decimal>
Type Parameters
TSource
MaxAwaitAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, UniTask<Double>>, CancellationToken)
public static UniTask<double> MaxAwaitAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, UniTask<double>> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, UniTask<System.Double>>cancellationToken
CancellationToken
Returns
- UniTask<System.Double>
Type Parameters
TSource
MaxAwaitAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, UniTask<Int32>>, CancellationToken)
public static UniTask<int> MaxAwaitAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, UniTask<int>> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, UniTask<System.Int32>>cancellationToken
CancellationToken
Returns
- UniTask<System.Int32>
Type Parameters
TSource
MaxAwaitAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, UniTask<Int64>>, CancellationToken)
public static UniTask<long> MaxAwaitAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, UniTask<long>> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, UniTask<System.Int64>>cancellationToken
CancellationToken
Returns
- UniTask<System.Int64>
Type Parameters
TSource
MaxAwaitAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, UniTask<Nullable<Decimal>>>, CancellationToken)
public static UniTask<decimal?> MaxAwaitAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, UniTask<decimal?>> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, UniTask<System.Nullable<System.Decimal>>>cancellationToken
CancellationToken
Returns
- UniTask<System.Nullable<System.Decimal>>
Type Parameters
TSource
MaxAwaitAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, UniTask<Nullable<Double>>>, CancellationToken)
public static UniTask<double?> MaxAwaitAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, UniTask<double?>> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, UniTask<System.Nullable<System.Double>>>cancellationToken
CancellationToken
Returns
- UniTask<System.Nullable<System.Double>>
Type Parameters
TSource
MaxAwaitAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, UniTask<Nullable<Int32>>>, CancellationToken)
public static UniTask<int?> MaxAwaitAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, UniTask<int?>> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, UniTask<System.Nullable<System.Int32>>>cancellationToken
CancellationToken
Returns
- UniTask<System.Nullable<System.Int32>>
Type Parameters
TSource
MaxAwaitAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, UniTask<Nullable<Int64>>>, CancellationToken)
public static UniTask<long?> MaxAwaitAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, UniTask<long?>> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, UniTask<System.Nullable<System.Int64>>>cancellationToken
CancellationToken
Returns
- UniTask<System.Nullable<System.Int64>>
Type Parameters
TSource
MaxAwaitAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, UniTask<Nullable<Single>>>, CancellationToken)
public static UniTask<float?> MaxAwaitAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, UniTask<float?>> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, UniTask<System.Nullable<System.Single>>>cancellationToken
CancellationToken
Returns
- UniTask<System.Nullable<System.Single>>
Type Parameters
TSource
MaxAwaitAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, UniTask<Single>>, CancellationToken)
public static UniTask<float> MaxAwaitAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, UniTask<float>> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, UniTask<System.Single>>cancellationToken
CancellationToken
Returns
- UniTask<System.Single>
Type Parameters
TSource
MaxAwaitAsync<TSource, TResult>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, UniTask<TResult>>, CancellationToken)
public static UniTask<TResult> MaxAwaitAsync<TSource, TResult>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, UniTask<TResult>> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, UniTask<TResult>>cancellationToken
CancellationToken
Returns
- UniTask<TResult>
Type Parameters
TSource
TResult
MaxAwaitWithCancellationAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, CancellationToken, UniTask<Decimal>>, CancellationToken)
public static UniTask<decimal> MaxAwaitWithCancellationAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, CancellationToken, UniTask<decimal>> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, CancellationToken, UniTask<System.Decimal>>cancellationToken
CancellationToken
Returns
- UniTask<System.Decimal>
Type Parameters
TSource
MaxAwaitWithCancellationAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, CancellationToken, UniTask<Double>>, CancellationToken)
public static UniTask<double> MaxAwaitWithCancellationAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, CancellationToken, UniTask<double>> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, CancellationToken, UniTask<System.Double>>cancellationToken
CancellationToken
Returns
- UniTask<System.Double>
Type Parameters
TSource
MaxAwaitWithCancellationAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, CancellationToken, UniTask<Int32>>, CancellationToken)
public static UniTask<int> MaxAwaitWithCancellationAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, CancellationToken, UniTask<int>> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, CancellationToken, UniTask<System.Int32>>cancellationToken
CancellationToken
Returns
- UniTask<System.Int32>
Type Parameters
TSource
MaxAwaitWithCancellationAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, CancellationToken, UniTask<Int64>>, CancellationToken)
public static UniTask<long> MaxAwaitWithCancellationAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, CancellationToken, UniTask<long>> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, CancellationToken, UniTask<System.Int64>>cancellationToken
CancellationToken
Returns
- UniTask<System.Int64>
Type Parameters
TSource
MaxAwaitWithCancellationAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, CancellationToken, UniTask<Nullable<Decimal>>>, CancellationToken)
public static UniTask<decimal?> MaxAwaitWithCancellationAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, CancellationToken, UniTask<decimal?>> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, CancellationToken, UniTask<System.Nullable<System.Decimal>>>cancellationToken
CancellationToken
Returns
- UniTask<System.Nullable<System.Decimal>>
Type Parameters
TSource
MaxAwaitWithCancellationAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, CancellationToken, UniTask<Nullable<Double>>>, CancellationToken)
public static UniTask<double?> MaxAwaitWithCancellationAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, CancellationToken, UniTask<double?>> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, CancellationToken, UniTask<System.Nullable<System.Double>>>cancellationToken
CancellationToken
Returns
- UniTask<System.Nullable<System.Double>>
Type Parameters
TSource
MaxAwaitWithCancellationAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, CancellationToken, UniTask<Nullable<Int32>>>, CancellationToken)
public static UniTask<int?> MaxAwaitWithCancellationAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, CancellationToken, UniTask<int?>> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, CancellationToken, UniTask<System.Nullable<System.Int32>>>cancellationToken
CancellationToken
Returns
- UniTask<System.Nullable<System.Int32>>
Type Parameters
TSource
MaxAwaitWithCancellationAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, CancellationToken, UniTask<Nullable<Int64>>>, CancellationToken)
public static UniTask<long?> MaxAwaitWithCancellationAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, CancellationToken, UniTask<long?>> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, CancellationToken, UniTask<System.Nullable<System.Int64>>>cancellationToken
CancellationToken
Returns
- UniTask<System.Nullable<System.Int64>>
Type Parameters
TSource
MaxAwaitWithCancellationAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, CancellationToken, UniTask<Nullable<Single>>>, CancellationToken)
public static UniTask<float?> MaxAwaitWithCancellationAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, CancellationToken, UniTask<float?>> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, CancellationToken, UniTask<System.Nullable<System.Single>>>cancellationToken
CancellationToken
Returns
- UniTask<System.Nullable<System.Single>>
Type Parameters
TSource
MaxAwaitWithCancellationAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, CancellationToken, UniTask<Single>>, CancellationToken)
public static UniTask<float> MaxAwaitWithCancellationAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, CancellationToken, UniTask<float>> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, CancellationToken, UniTask<System.Single>>cancellationToken
CancellationToken
Returns
- UniTask<System.Single>
Type Parameters
TSource
MaxAwaitWithCancellationAsync<TSource, TResult>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, CancellationToken, UniTask<TResult>>, CancellationToken)
public static UniTask<TResult> MaxAwaitWithCancellationAsync<TSource, TResult>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, CancellationToken, UniTask<TResult>> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, CancellationToken, UniTask<TResult>>cancellationToken
CancellationToken
Returns
- UniTask<TResult>
Type Parameters
TSource
TResult
MinAsync(IUniTaskAsyncEnumerable<Decimal>, CancellationToken)
public static UniTask<decimal> MinAsync(this IUniTaskAsyncEnumerable<decimal> source, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<System.Decimal>cancellationToken
CancellationToken
Returns
- UniTask<System.Decimal>
MinAsync(IUniTaskAsyncEnumerable<Double>, CancellationToken)
public static UniTask<double> MinAsync(this IUniTaskAsyncEnumerable<double> source, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<System.Double>cancellationToken
CancellationToken
Returns
- UniTask<System.Double>
MinAsync(IUniTaskAsyncEnumerable<Int32>, CancellationToken)
public static UniTask<int> MinAsync(this IUniTaskAsyncEnumerable<int> source, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<System.Int32>cancellationToken
CancellationToken
Returns
- UniTask<System.Int32>
MinAsync(IUniTaskAsyncEnumerable<Int64>, CancellationToken)
public static UniTask<long> MinAsync(this IUniTaskAsyncEnumerable<long> source, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<System.Int64>cancellationToken
CancellationToken
Returns
- UniTask<System.Int64>
MinAsync(IUniTaskAsyncEnumerable<Nullable<Decimal>>, CancellationToken)
public static UniTask<decimal?> MinAsync(this IUniTaskAsyncEnumerable<decimal?> source, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<System.Nullable<System.Decimal>>cancellationToken
CancellationToken
Returns
- UniTask<System.Nullable<System.Decimal>>
MinAsync(IUniTaskAsyncEnumerable<Nullable<Double>>, CancellationToken)
public static UniTask<double?> MinAsync(this IUniTaskAsyncEnumerable<double?> source, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<System.Nullable<System.Double>>cancellationToken
CancellationToken
Returns
- UniTask<System.Nullable<System.Double>>
MinAsync(IUniTaskAsyncEnumerable<Nullable<Int32>>, CancellationToken)
public static UniTask<int?> MinAsync(this IUniTaskAsyncEnumerable<int?> source, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<System.Nullable<System.Int32>>cancellationToken
CancellationToken
Returns
- UniTask<System.Nullable<System.Int32>>
MinAsync(IUniTaskAsyncEnumerable<Nullable<Int64>>, CancellationToken)
public static UniTask<long?> MinAsync(this IUniTaskAsyncEnumerable<long?> source, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<System.Nullable<System.Int64>>cancellationToken
CancellationToken
Returns
- UniTask<System.Nullable<System.Int64>>
MinAsync(IUniTaskAsyncEnumerable<Nullable<Single>>, CancellationToken)
public static UniTask<float?> MinAsync(this IUniTaskAsyncEnumerable<float?> source, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<System.Nullable<System.Single>>cancellationToken
CancellationToken
Returns
- UniTask<System.Nullable<System.Single>>
MinAsync(IUniTaskAsyncEnumerable<Single>, CancellationToken)
public static UniTask<float> MinAsync(this IUniTaskAsyncEnumerable<float> source, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<System.Single>cancellationToken
CancellationToken
Returns
- UniTask<System.Single>
MinAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, CancellationToken)
public static UniTask<TSource> MinAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>cancellationToken
CancellationToken
Returns
- UniTask<TSource>
Type Parameters
TSource
MinAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, Decimal>, CancellationToken)
public static UniTask<decimal> MinAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, decimal> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, System.Decimal>cancellationToken
CancellationToken
Returns
- UniTask<System.Decimal>
Type Parameters
TSource
MinAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, Double>, CancellationToken)
public static UniTask<double> MinAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, double> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, System.Double>cancellationToken
CancellationToken
Returns
- UniTask<System.Double>
Type Parameters
TSource
MinAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, Int32>, CancellationToken)
public static UniTask<int> MinAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, int> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, System.Int32>cancellationToken
CancellationToken
Returns
- UniTask<System.Int32>
Type Parameters
TSource
MinAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, Int64>, CancellationToken)
public static UniTask<long> MinAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, long> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, System.Int64>cancellationToken
CancellationToken
Returns
- UniTask<System.Int64>
Type Parameters
TSource
MinAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, Nullable<Decimal>>, CancellationToken)
public static UniTask<decimal?> MinAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, decimal?> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, System.Nullable<System.Decimal>>cancellationToken
CancellationToken
Returns
- UniTask<System.Nullable<System.Decimal>>
Type Parameters
TSource
MinAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, Nullable<Double>>, CancellationToken)
public static UniTask<double?> MinAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, double?> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, System.Nullable<System.Double>>cancellationToken
CancellationToken
Returns
- UniTask<System.Nullable<System.Double>>
Type Parameters
TSource
MinAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, Nullable<Int32>>, CancellationToken)
public static UniTask<int?> MinAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, int?> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, System.Nullable<System.Int32>>cancellationToken
CancellationToken
Returns
- UniTask<System.Nullable<System.Int32>>
Type Parameters
TSource
MinAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, Nullable<Int64>>, CancellationToken)
public static UniTask<long?> MinAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, long?> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, System.Nullable<System.Int64>>cancellationToken
CancellationToken
Returns
- UniTask<System.Nullable<System.Int64>>
Type Parameters
TSource
MinAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, Nullable<Single>>, CancellationToken)
public static UniTask<float?> MinAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, float?> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, System.Nullable<System.Single>>cancellationToken
CancellationToken
Returns
- UniTask<System.Nullable<System.Single>>
Type Parameters
TSource
MinAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, Single>, CancellationToken)
public static UniTask<float> MinAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, float> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, System.Single>cancellationToken
CancellationToken
Returns
- UniTask<System.Single>
Type Parameters
TSource
MinAsync<TSource, TResult>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, TResult>, CancellationToken)
public static UniTask<TResult> MinAsync<TSource, TResult>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, TResult> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, TResult>cancellationToken
CancellationToken
Returns
- UniTask<TResult>
Type Parameters
TSource
TResult
MinAwaitAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, UniTask<Decimal>>, CancellationToken)
public static UniTask<decimal> MinAwaitAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, UniTask<decimal>> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, UniTask<System.Decimal>>cancellationToken
CancellationToken
Returns
- UniTask<System.Decimal>
Type Parameters
TSource
MinAwaitAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, UniTask<Double>>, CancellationToken)
public static UniTask<double> MinAwaitAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, UniTask<double>> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, UniTask<System.Double>>cancellationToken
CancellationToken
Returns
- UniTask<System.Double>
Type Parameters
TSource
MinAwaitAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, UniTask<Int32>>, CancellationToken)
public static UniTask<int> MinAwaitAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, UniTask<int>> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, UniTask<System.Int32>>cancellationToken
CancellationToken
Returns
- UniTask<System.Int32>
Type Parameters
TSource
MinAwaitAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, UniTask<Int64>>, CancellationToken)
public static UniTask<long> MinAwaitAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, UniTask<long>> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, UniTask<System.Int64>>cancellationToken
CancellationToken
Returns
- UniTask<System.Int64>
Type Parameters
TSource
MinAwaitAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, UniTask<Nullable<Decimal>>>, CancellationToken)
public static UniTask<decimal?> MinAwaitAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, UniTask<decimal?>> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, UniTask<System.Nullable<System.Decimal>>>cancellationToken
CancellationToken
Returns
- UniTask<System.Nullable<System.Decimal>>
Type Parameters
TSource
MinAwaitAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, UniTask<Nullable<Double>>>, CancellationToken)
public static UniTask<double?> MinAwaitAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, UniTask<double?>> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, UniTask<System.Nullable<System.Double>>>cancellationToken
CancellationToken
Returns
- UniTask<System.Nullable<System.Double>>
Type Parameters
TSource
MinAwaitAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, UniTask<Nullable<Int32>>>, CancellationToken)
public static UniTask<int?> MinAwaitAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, UniTask<int?>> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, UniTask<System.Nullable<System.Int32>>>cancellationToken
CancellationToken
Returns
- UniTask<System.Nullable<System.Int32>>
Type Parameters
TSource
MinAwaitAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, UniTask<Nullable<Int64>>>, CancellationToken)
public static UniTask<long?> MinAwaitAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, UniTask<long?>> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, UniTask<System.Nullable<System.Int64>>>cancellationToken
CancellationToken
Returns
- UniTask<System.Nullable<System.Int64>>
Type Parameters
TSource
MinAwaitAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, UniTask<Nullable<Single>>>, CancellationToken)
public static UniTask<float?> MinAwaitAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, UniTask<float?>> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, UniTask<System.Nullable<System.Single>>>cancellationToken
CancellationToken
Returns
- UniTask<System.Nullable<System.Single>>
Type Parameters
TSource
MinAwaitAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, UniTask<Single>>, CancellationToken)
public static UniTask<float> MinAwaitAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, UniTask<float>> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, UniTask<System.Single>>cancellationToken
CancellationToken
Returns
- UniTask<System.Single>
Type Parameters
TSource
MinAwaitAsync<TSource, TResult>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, UniTask<TResult>>, CancellationToken)
public static UniTask<TResult> MinAwaitAsync<TSource, TResult>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, UniTask<TResult>> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, UniTask<TResult>>cancellationToken
CancellationToken
Returns
- UniTask<TResult>
Type Parameters
TSource
TResult
MinAwaitWithCancellationAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, CancellationToken, UniTask<Decimal>>, CancellationToken)
public static UniTask<decimal> MinAwaitWithCancellationAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, CancellationToken, UniTask<decimal>> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, CancellationToken, UniTask<System.Decimal>>cancellationToken
CancellationToken
Returns
- UniTask<System.Decimal>
Type Parameters
TSource
MinAwaitWithCancellationAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, CancellationToken, UniTask<Double>>, CancellationToken)
public static UniTask<double> MinAwaitWithCancellationAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, CancellationToken, UniTask<double>> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, CancellationToken, UniTask<System.Double>>cancellationToken
CancellationToken
Returns
- UniTask<System.Double>
Type Parameters
TSource
MinAwaitWithCancellationAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, CancellationToken, UniTask<Int32>>, CancellationToken)
public static UniTask<int> MinAwaitWithCancellationAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, CancellationToken, UniTask<int>> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, CancellationToken, UniTask<System.Int32>>cancellationToken
CancellationToken
Returns
- UniTask<System.Int32>
Type Parameters
TSource
MinAwaitWithCancellationAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, CancellationToken, UniTask<Int64>>, CancellationToken)
public static UniTask<long> MinAwaitWithCancellationAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, CancellationToken, UniTask<long>> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, CancellationToken, UniTask<System.Int64>>cancellationToken
CancellationToken
Returns
- UniTask<System.Int64>
Type Parameters
TSource
MinAwaitWithCancellationAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, CancellationToken, UniTask<Nullable<Decimal>>>, CancellationToken)
public static UniTask<decimal?> MinAwaitWithCancellationAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, CancellationToken, UniTask<decimal?>> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, CancellationToken, UniTask<System.Nullable<System.Decimal>>>cancellationToken
CancellationToken
Returns
- UniTask<System.Nullable<System.Decimal>>
Type Parameters
TSource
MinAwaitWithCancellationAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, CancellationToken, UniTask<Nullable<Double>>>, CancellationToken)
public static UniTask<double?> MinAwaitWithCancellationAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, CancellationToken, UniTask<double?>> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, CancellationToken, UniTask<System.Nullable<System.Double>>>cancellationToken
CancellationToken
Returns
- UniTask<System.Nullable<System.Double>>
Type Parameters
TSource
MinAwaitWithCancellationAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, CancellationToken, UniTask<Nullable<Int32>>>, CancellationToken)
public static UniTask<int?> MinAwaitWithCancellationAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, CancellationToken, UniTask<int?>> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, CancellationToken, UniTask<System.Nullable<System.Int32>>>cancellationToken
CancellationToken
Returns
- UniTask<System.Nullable<System.Int32>>
Type Parameters
TSource
MinAwaitWithCancellationAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, CancellationToken, UniTask<Nullable<Int64>>>, CancellationToken)
public static UniTask<long?> MinAwaitWithCancellationAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, CancellationToken, UniTask<long?>> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, CancellationToken, UniTask<System.Nullable<System.Int64>>>cancellationToken
CancellationToken
Returns
- UniTask<System.Nullable<System.Int64>>
Type Parameters
TSource
MinAwaitWithCancellationAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, CancellationToken, UniTask<Nullable<Single>>>, CancellationToken)
public static UniTask<float?> MinAwaitWithCancellationAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, CancellationToken, UniTask<float?>> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, CancellationToken, UniTask<System.Nullable<System.Single>>>cancellationToken
CancellationToken
Returns
- UniTask<System.Nullable<System.Single>>
Type Parameters
TSource
MinAwaitWithCancellationAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, CancellationToken, UniTask<Single>>, CancellationToken)
public static UniTask<float> MinAwaitWithCancellationAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, CancellationToken, UniTask<float>> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, CancellationToken, UniTask<System.Single>>cancellationToken
CancellationToken
Returns
- UniTask<System.Single>
Type Parameters
TSource
MinAwaitWithCancellationAsync<TSource, TResult>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, CancellationToken, UniTask<TResult>>, CancellationToken)
public static UniTask<TResult> MinAwaitWithCancellationAsync<TSource, TResult>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, CancellationToken, UniTask<TResult>> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, CancellationToken, UniTask<TResult>>cancellationToken
CancellationToken
Returns
- UniTask<TResult>
Type Parameters
TSource
TResult
Never<T>()
public static IUniTaskAsyncEnumerable<T> Never<T>()
Returns
Type Parameters
T
OfType<TResult>(IUniTaskAsyncEnumerable<Object>)
public static IUniTaskAsyncEnumerable<TResult> OfType<TResult>(this IUniTaskAsyncEnumerable<object> source)
Parameters
source
IUniTaskAsyncEnumerable<System.Object>
Returns
- IUniTaskAsyncEnumerable<TResult>
Type Parameters
TResult
OrderBy<TSource, TKey>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, TKey>)
public static IUniTaskOrderedAsyncEnumerable<TSource> OrderBy<TSource, TKey>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, TKey> keySelector)
Parameters
source
IUniTaskAsyncEnumerable<TSource>keySelector
System.Func<TSource, TKey>
Returns
- IUniTaskOrderedAsyncEnumerable<TSource>
Type Parameters
TSource
TKey
OrderBy<TSource, TKey>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, TKey>, IComparer<TKey>)
public static IUniTaskOrderedAsyncEnumerable<TSource> OrderBy<TSource, TKey>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, TKey> keySelector, IComparer<TKey> comparer)
Parameters
source
IUniTaskAsyncEnumerable<TSource>keySelector
System.Func<TSource, TKey>comparer
IComparer<TKey>
Returns
- IUniTaskOrderedAsyncEnumerable<TSource>
Type Parameters
TSource
TKey
OrderByAwait<TSource, TKey>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, UniTask<TKey>>)
public static IUniTaskOrderedAsyncEnumerable<TSource> OrderByAwait<TSource, TKey>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, UniTask<TKey>> keySelector)
Parameters
source
IUniTaskAsyncEnumerable<TSource>keySelector
System.Func<TSource, UniTask<TKey>>
Returns
- IUniTaskOrderedAsyncEnumerable<TSource>
Type Parameters
TSource
TKey
OrderByAwait<TSource, TKey>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, UniTask<TKey>>, IComparer<TKey>)
public static IUniTaskOrderedAsyncEnumerable<TSource> OrderByAwait<TSource, TKey>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, UniTask<TKey>> keySelector, IComparer<TKey> comparer)
Parameters
source
IUniTaskAsyncEnumerable<TSource>keySelector
System.Func<TSource, UniTask<TKey>>comparer
IComparer<TKey>
Returns
- IUniTaskOrderedAsyncEnumerable<TSource>
Type Parameters
TSource
TKey
OrderByAwaitWithCancellation<TSource, TKey>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, CancellationToken, UniTask<TKey>>)
public static IUniTaskOrderedAsyncEnumerable<TSource> OrderByAwaitWithCancellation<TSource, TKey>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, CancellationToken, UniTask<TKey>> keySelector)
Parameters
source
IUniTaskAsyncEnumerable<TSource>keySelector
System.Func<TSource, CancellationToken, UniTask<TKey>>
Returns
- IUniTaskOrderedAsyncEnumerable<TSource>
Type Parameters
TSource
TKey
OrderByAwaitWithCancellation<TSource, TKey>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, CancellationToken, UniTask<TKey>>, IComparer<TKey>)
public static IUniTaskOrderedAsyncEnumerable<TSource> OrderByAwaitWithCancellation<TSource, TKey>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, CancellationToken, UniTask<TKey>> keySelector, IComparer<TKey> comparer)
Parameters
source
IUniTaskAsyncEnumerable<TSource>keySelector
System.Func<TSource, CancellationToken, UniTask<TKey>>comparer
IComparer<TKey>
Returns
- IUniTaskOrderedAsyncEnumerable<TSource>
Type Parameters
TSource
TKey
OrderByDescending<TSource, TKey>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, TKey>)
public static IUniTaskOrderedAsyncEnumerable<TSource> OrderByDescending<TSource, TKey>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, TKey> keySelector)
Parameters
source
IUniTaskAsyncEnumerable<TSource>keySelector
System.Func<TSource, TKey>
Returns
- IUniTaskOrderedAsyncEnumerable<TSource>
Type Parameters
TSource
TKey
OrderByDescending<TSource, TKey>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, TKey>, IComparer<TKey>)
public static IUniTaskOrderedAsyncEnumerable<TSource> OrderByDescending<TSource, TKey>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, TKey> keySelector, IComparer<TKey> comparer)
Parameters
source
IUniTaskAsyncEnumerable<TSource>keySelector
System.Func<TSource, TKey>comparer
IComparer<TKey>
Returns
- IUniTaskOrderedAsyncEnumerable<TSource>
Type Parameters
TSource
TKey
OrderByDescendingAwait<TSource, TKey>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, UniTask<TKey>>)
public static IUniTaskOrderedAsyncEnumerable<TSource> OrderByDescendingAwait<TSource, TKey>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, UniTask<TKey>> keySelector)
Parameters
source
IUniTaskAsyncEnumerable<TSource>keySelector
System.Func<TSource, UniTask<TKey>>
Returns
- IUniTaskOrderedAsyncEnumerable<TSource>
Type Parameters
TSource
TKey
OrderByDescendingAwait<TSource, TKey>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, UniTask<TKey>>, IComparer<TKey>)
public static IUniTaskOrderedAsyncEnumerable<TSource> OrderByDescendingAwait<TSource, TKey>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, UniTask<TKey>> keySelector, IComparer<TKey> comparer)
Parameters
source
IUniTaskAsyncEnumerable<TSource>keySelector
System.Func<TSource, UniTask<TKey>>comparer
IComparer<TKey>
Returns
- IUniTaskOrderedAsyncEnumerable<TSource>
Type Parameters
TSource
TKey
OrderByDescendingAwaitWithCancellation<TSource, TKey>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, CancellationToken, UniTask<TKey>>)
public static IUniTaskOrderedAsyncEnumerable<TSource> OrderByDescendingAwaitWithCancellation<TSource, TKey>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, CancellationToken, UniTask<TKey>> keySelector)
Parameters
source
IUniTaskAsyncEnumerable<TSource>keySelector
System.Func<TSource, CancellationToken, UniTask<TKey>>
Returns
- IUniTaskOrderedAsyncEnumerable<TSource>
Type Parameters
TSource
TKey
OrderByDescendingAwaitWithCancellation<TSource, TKey>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, CancellationToken, UniTask<TKey>>, IComparer<TKey>)
public static IUniTaskOrderedAsyncEnumerable<TSource> OrderByDescendingAwaitWithCancellation<TSource, TKey>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, CancellationToken, UniTask<TKey>> keySelector, IComparer<TKey> comparer)
Parameters
source
IUniTaskAsyncEnumerable<TSource>keySelector
System.Func<TSource, CancellationToken, UniTask<TKey>>comparer
IComparer<TKey>
Returns
- IUniTaskOrderedAsyncEnumerable<TSource>
Type Parameters
TSource
TKey
Pairwise<TSource>(IUniTaskAsyncEnumerable<TSource>)
public static IUniTaskAsyncEnumerable<(TSource, TSource)> Pairwise<TSource>(this IUniTaskAsyncEnumerable<TSource> source)
Parameters
source
IUniTaskAsyncEnumerable<TSource>
Returns
- IUniTaskAsyncEnumerable<System.ValueTuple<TSource, TSource>>
Type Parameters
TSource
Prepend<TSource>(IUniTaskAsyncEnumerable<TSource>, TSource)
public static IUniTaskAsyncEnumerable<TSource> Prepend<TSource>(this IUniTaskAsyncEnumerable<TSource> source, TSource element)
Parameters
source
IUniTaskAsyncEnumerable<TSource>element
TSource
Returns
- IUniTaskAsyncEnumerable<TSource>
Type Parameters
TSource
Publish<TSource>(IUniTaskAsyncEnumerable<TSource>)
public static IConnectableUniTaskAsyncEnumerable<TSource> Publish<TSource>(this IUniTaskAsyncEnumerable<TSource> source)
Parameters
source
IUniTaskAsyncEnumerable<TSource>
Returns
- IConnectableUniTaskAsyncEnumerable<TSource>
Type Parameters
TSource
Queue<TSource>(IUniTaskAsyncEnumerable<TSource>)
public static IUniTaskAsyncEnumerable<TSource> Queue<TSource>(this IUniTaskAsyncEnumerable<TSource> source)
Parameters
source
IUniTaskAsyncEnumerable<TSource>
Returns
- IUniTaskAsyncEnumerable<TSource>
Type Parameters
TSource
Range(Int32, Int32)
public static IUniTaskAsyncEnumerable<int> Range(int start, int count)
Parameters
start
System.Int32count
System.Int32
Returns
- IUniTaskAsyncEnumerable<System.Int32>
Repeat<TElement>(TElement, Int32)
public static IUniTaskAsyncEnumerable<TElement> Repeat<TElement>(TElement element, int count)
Parameters
element
TElementcount
System.Int32
Returns
- IUniTaskAsyncEnumerable<TElement>
Type Parameters
TElement
Return<TValue>(TValue)
public static IUniTaskAsyncEnumerable<TValue> Return<TValue>(TValue value)
Parameters
value
TValue
Returns
- IUniTaskAsyncEnumerable<TValue>
Type Parameters
TValue
Reverse<TSource>(IUniTaskAsyncEnumerable<TSource>)
public static IUniTaskAsyncEnumerable<TSource> Reverse<TSource>(this IUniTaskAsyncEnumerable<TSource> source)
Parameters
source
IUniTaskAsyncEnumerable<TSource>
Returns
- IUniTaskAsyncEnumerable<TSource>
Type Parameters
TSource
Select<TSource, TResult>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, TResult>)
public static IUniTaskAsyncEnumerable<TResult> Select<TSource, TResult>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, TResult> selector)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, TResult>
Returns
- IUniTaskAsyncEnumerable<TResult>
Type Parameters
TSource
TResult
Select<TSource, TResult>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, Int32, TResult>)
public static IUniTaskAsyncEnumerable<TResult> Select<TSource, TResult>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, int, TResult> selector)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, System.Int32, TResult>
Returns
- IUniTaskAsyncEnumerable<TResult>
Type Parameters
TSource
TResult
SelectAwait<TSource, TResult>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, UniTask<TResult>>)
public static IUniTaskAsyncEnumerable<TResult> SelectAwait<TSource, TResult>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, UniTask<TResult>> selector)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, UniTask<TResult>>
Returns
- IUniTaskAsyncEnumerable<TResult>
Type Parameters
TSource
TResult
SelectAwait<TSource, TResult>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, Int32, UniTask<TResult>>)
public static IUniTaskAsyncEnumerable<TResult> SelectAwait<TSource, TResult>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, int, UniTask<TResult>> selector)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, System.Int32, UniTask<TResult>>
Returns
- IUniTaskAsyncEnumerable<TResult>
Type Parameters
TSource
TResult
SelectAwaitWithCancellation<TSource, TResult>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, CancellationToken, UniTask<TResult>>)
public static IUniTaskAsyncEnumerable<TResult> SelectAwaitWithCancellation<TSource, TResult>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, CancellationToken, UniTask<TResult>> selector)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, CancellationToken, UniTask<TResult>>
Returns
- IUniTaskAsyncEnumerable<TResult>
Type Parameters
TSource
TResult
SelectAwaitWithCancellation<TSource, TResult>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, Int32, CancellationToken, UniTask<TResult>>)
public static IUniTaskAsyncEnumerable<TResult> SelectAwaitWithCancellation<TSource, TResult>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, int, CancellationToken, UniTask<TResult>> selector)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, System.Int32, CancellationToken, UniTask<TResult>>
Returns
- IUniTaskAsyncEnumerable<TResult>
Type Parameters
TSource
TResult
SelectMany<TSource, TResult>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, IUniTaskAsyncEnumerable<TResult>>)
public static IUniTaskAsyncEnumerable<TResult> SelectMany<TSource, TResult>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, IUniTaskAsyncEnumerable<TResult>> selector)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, IUniTaskAsyncEnumerable<TResult>>
Returns
- IUniTaskAsyncEnumerable<TResult>
Type Parameters
TSource
TResult
SelectMany<TSource, TResult>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, Int32, IUniTaskAsyncEnumerable<TResult>>)
public static IUniTaskAsyncEnumerable<TResult> SelectMany<TSource, TResult>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, int, IUniTaskAsyncEnumerable<TResult>> selector)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, System.Int32, IUniTaskAsyncEnumerable<TResult>>
Returns
- IUniTaskAsyncEnumerable<TResult>
Type Parameters
TSource
TResult
SelectMany<TSource, TCollection, TResult>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, IUniTaskAsyncEnumerable<TCollection>>, Func<TSource, TCollection, TResult>)
public static IUniTaskAsyncEnumerable<TResult> SelectMany<TSource, TCollection, TResult>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, IUniTaskAsyncEnumerable<TCollection>> collectionSelector, Func<TSource, TCollection, TResult> resultSelector)
Parameters
source
IUniTaskAsyncEnumerable<TSource>collectionSelector
System.Func<TSource, IUniTaskAsyncEnumerable<TCollection>>resultSelector
System.Func<TSource, TCollection, TResult>
Returns
- IUniTaskAsyncEnumerable<TResult>
Type Parameters
TSource
TCollection
TResult
SelectMany<TSource, TCollection, TResult>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, Int32, IUniTaskAsyncEnumerable<TCollection>>, Func<TSource, TCollection, TResult>)
public static IUniTaskAsyncEnumerable<TResult> SelectMany<TSource, TCollection, TResult>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, int, IUniTaskAsyncEnumerable<TCollection>> collectionSelector, Func<TSource, TCollection, TResult> resultSelector)
Parameters
source
IUniTaskAsyncEnumerable<TSource>collectionSelector
System.Func<TSource, System.Int32, IUniTaskAsyncEnumerable<TCollection>>resultSelector
System.Func<TSource, TCollection, TResult>
Returns
- IUniTaskAsyncEnumerable<TResult>
Type Parameters
TSource
TCollection
TResult
SelectManyAwait<TSource, TResult>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, UniTask<IUniTaskAsyncEnumerable<TResult>>>)
public static IUniTaskAsyncEnumerable<TResult> SelectManyAwait<TSource, TResult>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, UniTask<IUniTaskAsyncEnumerable<TResult>>> selector)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, UniTask<IUniTaskAsyncEnumerable<TResult>>>
Returns
- IUniTaskAsyncEnumerable<TResult>
Type Parameters
TSource
TResult
SelectManyAwait<TSource, TResult>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, Int32, UniTask<IUniTaskAsyncEnumerable<TResult>>>)
public static IUniTaskAsyncEnumerable<TResult> SelectManyAwait<TSource, TResult>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, int, UniTask<IUniTaskAsyncEnumerable<TResult>>> selector)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, System.Int32, UniTask<IUniTaskAsyncEnumerable<TResult>>>
Returns
- IUniTaskAsyncEnumerable<TResult>
Type Parameters
TSource
TResult
SelectManyAwait<TSource, TCollection, TResult>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, UniTask<IUniTaskAsyncEnumerable<TCollection>>>, Func<TSource, TCollection, UniTask<TResult>>)
public static IUniTaskAsyncEnumerable<TResult> SelectManyAwait<TSource, TCollection, TResult>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, UniTask<IUniTaskAsyncEnumerable<TCollection>>> collectionSelector, Func<TSource, TCollection, UniTask<TResult>> resultSelector)
Parameters
source
IUniTaskAsyncEnumerable<TSource>collectionSelector
System.Func<TSource, UniTask<IUniTaskAsyncEnumerable<TCollection>>>resultSelector
System.Func<TSource, TCollection, UniTask<TResult>>
Returns
- IUniTaskAsyncEnumerable<TResult>
Type Parameters
TSource
TCollection
TResult
SelectManyAwait<TSource, TCollection, TResult>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, Int32, UniTask<IUniTaskAsyncEnumerable<TCollection>>>, Func<TSource, TCollection, UniTask<TResult>>)
public static IUniTaskAsyncEnumerable<TResult> SelectManyAwait<TSource, TCollection, TResult>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, int, UniTask<IUniTaskAsyncEnumerable<TCollection>>> collectionSelector, Func<TSource, TCollection, UniTask<TResult>> resultSelector)
Parameters
source
IUniTaskAsyncEnumerable<TSource>collectionSelector
System.Func<TSource, System.Int32, UniTask<IUniTaskAsyncEnumerable<TCollection>>>resultSelector
System.Func<TSource, TCollection, UniTask<TResult>>
Returns
- IUniTaskAsyncEnumerable<TResult>
Type Parameters
TSource
TCollection
TResult
SelectManyAwaitWithCancellation<TSource, TResult>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, CancellationToken, UniTask<IUniTaskAsyncEnumerable<TResult>>>)
public static IUniTaskAsyncEnumerable<TResult> SelectManyAwaitWithCancellation<TSource, TResult>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, CancellationToken, UniTask<IUniTaskAsyncEnumerable<TResult>>> selector)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, CancellationToken, UniTask<IUniTaskAsyncEnumerable<TResult>>>
Returns
- IUniTaskAsyncEnumerable<TResult>
Type Parameters
TSource
TResult
SelectManyAwaitWithCancellation<TSource, TResult>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, Int32, CancellationToken, UniTask<IUniTaskAsyncEnumerable<TResult>>>)
public static IUniTaskAsyncEnumerable<TResult> SelectManyAwaitWithCancellation<TSource, TResult>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, int, CancellationToken, UniTask<IUniTaskAsyncEnumerable<TResult>>> selector)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, System.Int32, CancellationToken, UniTask<IUniTaskAsyncEnumerable<TResult>>>
Returns
- IUniTaskAsyncEnumerable<TResult>
Type Parameters
TSource
TResult
SelectManyAwaitWithCancellation<TSource, TCollection, TResult>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, CancellationToken, UniTask<IUniTaskAsyncEnumerable<TCollection>>>, Func<TSource, TCollection, CancellationToken, UniTask<TResult>>)
public static IUniTaskAsyncEnumerable<TResult> SelectManyAwaitWithCancellation<TSource, TCollection, TResult>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, CancellationToken, UniTask<IUniTaskAsyncEnumerable<TCollection>>> collectionSelector, Func<TSource, TCollection, CancellationToken, UniTask<TResult>> resultSelector)
Parameters
source
IUniTaskAsyncEnumerable<TSource>collectionSelector
System.Func<TSource, CancellationToken, UniTask<IUniTaskAsyncEnumerable<TCollection>>>resultSelector
System.Func<TSource, TCollection, CancellationToken, UniTask<TResult>>
Returns
- IUniTaskAsyncEnumerable<TResult>
Type Parameters
TSource
TCollection
TResult
SelectManyAwaitWithCancellation<TSource, TCollection, TResult>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, Int32, CancellationToken, UniTask<IUniTaskAsyncEnumerable<TCollection>>>, Func<TSource, TCollection, CancellationToken, UniTask<TResult>>)
public static IUniTaskAsyncEnumerable<TResult> SelectManyAwaitWithCancellation<TSource, TCollection, TResult>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, int, CancellationToken, UniTask<IUniTaskAsyncEnumerable<TCollection>>> collectionSelector, Func<TSource, TCollection, CancellationToken, UniTask<TResult>> resultSelector)
Parameters
source
IUniTaskAsyncEnumerable<TSource>collectionSelector
System.Func<TSource, System.Int32, CancellationToken, UniTask<IUniTaskAsyncEnumerable<TCollection>>>resultSelector
System.Func<TSource, TCollection, CancellationToken, UniTask<TResult>>
Returns
- IUniTaskAsyncEnumerable<TResult>
Type Parameters
TSource
TCollection
TResult
SequenceEqualAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, IUniTaskAsyncEnumerable<TSource>, CancellationToken)
public static UniTask<bool> SequenceEqualAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> first, IUniTaskAsyncEnumerable<TSource> second, CancellationToken cancellationToken = null)
Parameters
first
IUniTaskAsyncEnumerable<TSource>second
IUniTaskAsyncEnumerable<TSource>cancellationToken
CancellationToken
Returns
- UniTask<System.Boolean>
Type Parameters
TSource
SequenceEqualAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, IUniTaskAsyncEnumerable<TSource>, IEqualityComparer<TSource>, CancellationToken)
public static UniTask<bool> SequenceEqualAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> first, IUniTaskAsyncEnumerable<TSource> second, IEqualityComparer<TSource> comparer, CancellationToken cancellationToken = null)
Parameters
first
IUniTaskAsyncEnumerable<TSource>second
IUniTaskAsyncEnumerable<TSource>comparer
IEqualityComparer<TSource>cancellationToken
CancellationToken
Returns
- UniTask<System.Boolean>
Type Parameters
TSource
SingleAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, CancellationToken)
public static UniTask<TSource> SingleAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>cancellationToken
CancellationToken
Returns
- UniTask<TSource>
Type Parameters
TSource
SingleAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, Boolean>, CancellationToken)
public static UniTask<TSource> SingleAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, bool> predicate, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>predicate
System.Func<TSource, System.Boolean>cancellationToken
CancellationToken
Returns
- UniTask<TSource>
Type Parameters
TSource
SingleAwaitAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, UniTask<Boolean>>, CancellationToken)
public static UniTask<TSource> SingleAwaitAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, UniTask<bool>> predicate, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>predicate
System.Func<TSource, UniTask<System.Boolean>>cancellationToken
CancellationToken
Returns
- UniTask<TSource>
Type Parameters
TSource
SingleAwaitWithCancellationAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, CancellationToken, UniTask<Boolean>>, CancellationToken)
public static UniTask<TSource> SingleAwaitWithCancellationAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, CancellationToken, UniTask<bool>> predicate, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>predicate
System.Func<TSource, CancellationToken, UniTask<System.Boolean>>cancellationToken
CancellationToken
Returns
- UniTask<TSource>
Type Parameters
TSource
SingleOrDefaultAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, CancellationToken)
public static UniTask<TSource> SingleOrDefaultAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>cancellationToken
CancellationToken
Returns
- UniTask<TSource>
Type Parameters
TSource
SingleOrDefaultAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, Boolean>, CancellationToken)
public static UniTask<TSource> SingleOrDefaultAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, bool> predicate, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>predicate
System.Func<TSource, System.Boolean>cancellationToken
CancellationToken
Returns
- UniTask<TSource>
Type Parameters
TSource
SingleOrDefaultAwaitAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, UniTask<Boolean>>, CancellationToken)
public static UniTask<TSource> SingleOrDefaultAwaitAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, UniTask<bool>> predicate, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>predicate
System.Func<TSource, UniTask<System.Boolean>>cancellationToken
CancellationToken
Returns
- UniTask<TSource>
Type Parameters
TSource
SingleOrDefaultAwaitWithCancellationAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, CancellationToken, UniTask<Boolean>>, CancellationToken)
public static UniTask<TSource> SingleOrDefaultAwaitWithCancellationAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, CancellationToken, UniTask<bool>> predicate, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>predicate
System.Func<TSource, CancellationToken, UniTask<System.Boolean>>cancellationToken
CancellationToken
Returns
- UniTask<TSource>
Type Parameters
TSource
Skip<TSource>(IUniTaskAsyncEnumerable<TSource>, Int32)
public static IUniTaskAsyncEnumerable<TSource> Skip<TSource>(this IUniTaskAsyncEnumerable<TSource> source, int count)
Parameters
source
IUniTaskAsyncEnumerable<TSource>count
System.Int32
Returns
- IUniTaskAsyncEnumerable<TSource>
Type Parameters
TSource
SkipLast<TSource>(IUniTaskAsyncEnumerable<TSource>, Int32)
public static IUniTaskAsyncEnumerable<TSource> SkipLast<TSource>(this IUniTaskAsyncEnumerable<TSource> source, int count)
Parameters
source
IUniTaskAsyncEnumerable<TSource>count
System.Int32
Returns
- IUniTaskAsyncEnumerable<TSource>
Type Parameters
TSource
SkipUntil<TSource>(IUniTaskAsyncEnumerable<TSource>, UniTask)
public static IUniTaskAsyncEnumerable<TSource> SkipUntil<TSource>(this IUniTaskAsyncEnumerable<TSource> source, UniTask other)
Parameters
source
IUniTaskAsyncEnumerable<TSource>other
UniTask
Returns
- IUniTaskAsyncEnumerable<TSource>
Type Parameters
TSource
SkipUntil<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<CancellationToken, UniTask>)
public static IUniTaskAsyncEnumerable<TSource> SkipUntil<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<CancellationToken, UniTask> other)
Parameters
source
IUniTaskAsyncEnumerable<TSource>other
System.Func<CancellationToken, UniTask>
Returns
- IUniTaskAsyncEnumerable<TSource>
Type Parameters
TSource
SkipUntilCanceled<TSource>(IUniTaskAsyncEnumerable<TSource>, CancellationToken)
public static IUniTaskAsyncEnumerable<TSource> SkipUntilCanceled<TSource>(this IUniTaskAsyncEnumerable<TSource> source, CancellationToken cancellationToken)
Parameters
source
IUniTaskAsyncEnumerable<TSource>cancellationToken
CancellationToken
Returns
- IUniTaskAsyncEnumerable<TSource>
Type Parameters
TSource
SkipWhile<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, Boolean>)
public static IUniTaskAsyncEnumerable<TSource> SkipWhile<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, bool> predicate)
Parameters
source
IUniTaskAsyncEnumerable<TSource>predicate
System.Func<TSource, System.Boolean>
Returns
- IUniTaskAsyncEnumerable<TSource>
Type Parameters
TSource
SkipWhile<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, Int32, Boolean>)
public static IUniTaskAsyncEnumerable<TSource> SkipWhile<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, int, bool> predicate)
Parameters
source
IUniTaskAsyncEnumerable<TSource>predicate
System.Func<TSource, System.Int32, System.Boolean>
Returns
- IUniTaskAsyncEnumerable<TSource>
Type Parameters
TSource
SkipWhileAwait<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, UniTask<Boolean>>)
public static IUniTaskAsyncEnumerable<TSource> SkipWhileAwait<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, UniTask<bool>> predicate)
Parameters
source
IUniTaskAsyncEnumerable<TSource>predicate
System.Func<TSource, UniTask<System.Boolean>>
Returns
- IUniTaskAsyncEnumerable<TSource>
Type Parameters
TSource
SkipWhileAwait<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, Int32, UniTask<Boolean>>)
public static IUniTaskAsyncEnumerable<TSource> SkipWhileAwait<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, int, UniTask<bool>> predicate)
Parameters
source
IUniTaskAsyncEnumerable<TSource>predicate
System.Func<TSource, System.Int32, UniTask<System.Boolean>>
Returns
- IUniTaskAsyncEnumerable<TSource>
Type Parameters
TSource
SkipWhileAwaitWithCancellation<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, CancellationToken, UniTask<Boolean>>)
public static IUniTaskAsyncEnumerable<TSource> SkipWhileAwaitWithCancellation<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, CancellationToken, UniTask<bool>> predicate)
Parameters
source
IUniTaskAsyncEnumerable<TSource>predicate
System.Func<TSource, CancellationToken, UniTask<System.Boolean>>
Returns
- IUniTaskAsyncEnumerable<TSource>
Type Parameters
TSource
SkipWhileAwaitWithCancellation<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, Int32, CancellationToken, UniTask<Boolean>>)
public static IUniTaskAsyncEnumerable<TSource> SkipWhileAwaitWithCancellation<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, int, CancellationToken, UniTask<bool>> predicate)
Parameters
source
IUniTaskAsyncEnumerable<TSource>predicate
System.Func<TSource, System.Int32, CancellationToken, UniTask<System.Boolean>>
Returns
- IUniTaskAsyncEnumerable<TSource>
Type Parameters
TSource
Subscribe<TSource>(IUniTaskAsyncEnumerable<TSource>, Action<TSource>)
public static IDisposable Subscribe<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Action<TSource> action)
Parameters
source
IUniTaskAsyncEnumerable<TSource>action
System.Action<TSource>
Returns
- System.IDisposable
Type Parameters
TSource
Subscribe<TSource>(IUniTaskAsyncEnumerable<TSource>, Action<TSource>, CancellationToken)
public static void Subscribe<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Action<TSource> action, CancellationToken cancellationToken)
Parameters
source
IUniTaskAsyncEnumerable<TSource>action
System.Action<TSource>cancellationToken
CancellationToken
Type Parameters
TSource
Subscribe<TSource>(IUniTaskAsyncEnumerable<TSource>, Action<TSource>, Action)
public static IDisposable Subscribe<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Action<TSource> onNext, Action onCompleted)
Parameters
source
IUniTaskAsyncEnumerable<TSource>onNext
System.Action<TSource>onCompleted
System.Action
Returns
- System.IDisposable
Type Parameters
TSource
Subscribe<TSource>(IUniTaskAsyncEnumerable<TSource>, Action<TSource>, Action, CancellationToken)
public static void Subscribe<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Action<TSource> onNext, Action onCompleted, CancellationToken cancellationToken)
Parameters
source
IUniTaskAsyncEnumerable<TSource>onNext
System.Action<TSource>onCompleted
System.ActioncancellationToken
CancellationToken
Type Parameters
TSource
Subscribe<TSource>(IUniTaskAsyncEnumerable<TSource>, Action<TSource>, Action<Exception>)
public static IDisposable Subscribe<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Action<TSource> onNext, Action<Exception> onError)
Parameters
source
IUniTaskAsyncEnumerable<TSource>onNext
System.Action<TSource>onError
System.Action<System.Exception>
Returns
- System.IDisposable
Type Parameters
TSource
Subscribe<TSource>(IUniTaskAsyncEnumerable<TSource>, Action<TSource>, Action<Exception>, CancellationToken)
public static void Subscribe<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Action<TSource> onNext, Action<Exception> onError, CancellationToken cancellationToken)
Parameters
source
IUniTaskAsyncEnumerable<TSource>onNext
System.Action<TSource>onError
System.Action<System.Exception>cancellationToken
CancellationToken
Type Parameters
TSource
Subscribe<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, CancellationToken, UniTaskVoid>)
public static IDisposable Subscribe<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, CancellationToken, UniTaskVoid> action)
Parameters
source
IUniTaskAsyncEnumerable<TSource>action
System.Func<TSource, CancellationToken, UniTaskVoid>
Returns
- System.IDisposable
Type Parameters
TSource
Subscribe<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, CancellationToken, UniTaskVoid>, CancellationToken)
public static void Subscribe<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, CancellationToken, UniTaskVoid> action, CancellationToken cancellationToken)
Parameters
source
IUniTaskAsyncEnumerable<TSource>action
System.Func<TSource, CancellationToken, UniTaskVoid>cancellationToken
CancellationToken
Type Parameters
TSource
Subscribe<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, UniTaskVoid>)
public static IDisposable Subscribe<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, UniTaskVoid> action)
Parameters
source
IUniTaskAsyncEnumerable<TSource>action
System.Func<TSource, UniTaskVoid>
Returns
- System.IDisposable
Type Parameters
TSource
Subscribe<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, UniTaskVoid>, CancellationToken)
public static void Subscribe<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, UniTaskVoid> action, CancellationToken cancellationToken)
Parameters
source
IUniTaskAsyncEnumerable<TSource>action
System.Func<TSource, UniTaskVoid>cancellationToken
CancellationToken
Type Parameters
TSource
Subscribe<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, UniTaskVoid>, Action)
public static IDisposable Subscribe<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, UniTaskVoid> onNext, Action onCompleted)
Parameters
source
IUniTaskAsyncEnumerable<TSource>onNext
System.Func<TSource, UniTaskVoid>onCompleted
System.Action
Returns
- System.IDisposable
Type Parameters
TSource
Subscribe<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, UniTaskVoid>, Action, CancellationToken)
public static void Subscribe<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, UniTaskVoid> onNext, Action onCompleted, CancellationToken cancellationToken)
Parameters
source
IUniTaskAsyncEnumerable<TSource>onNext
System.Func<TSource, UniTaskVoid>onCompleted
System.ActioncancellationToken
CancellationToken
Type Parameters
TSource
Subscribe<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, UniTaskVoid>, Action<Exception>)
public static IDisposable Subscribe<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, UniTaskVoid> onNext, Action<Exception> onError)
Parameters
source
IUniTaskAsyncEnumerable<TSource>onNext
System.Func<TSource, UniTaskVoid>onError
System.Action<System.Exception>
Returns
- System.IDisposable
Type Parameters
TSource
Subscribe<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, UniTaskVoid>, Action<Exception>, CancellationToken)
public static void Subscribe<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, UniTaskVoid> onNext, Action<Exception> onError, CancellationToken cancellationToken)
Parameters
source
IUniTaskAsyncEnumerable<TSource>onNext
System.Func<TSource, UniTaskVoid>onError
System.Action<System.Exception>cancellationToken
CancellationToken
Type Parameters
TSource
Subscribe<TSource>(IUniTaskAsyncEnumerable<TSource>, IObserver<TSource>)
public static IDisposable Subscribe<TSource>(this IUniTaskAsyncEnumerable<TSource> source, IObserver<TSource> observer)
Parameters
source
IUniTaskAsyncEnumerable<TSource>observer
System.IObserver<TSource>
Returns
- System.IDisposable
Type Parameters
TSource
Subscribe<TSource>(IUniTaskAsyncEnumerable<TSource>, IObserver<TSource>, CancellationToken)
public static void Subscribe<TSource>(this IUniTaskAsyncEnumerable<TSource> source, IObserver<TSource> observer, CancellationToken cancellationToken)
Parameters
source
IUniTaskAsyncEnumerable<TSource>observer
System.IObserver<TSource>cancellationToken
CancellationToken
Type Parameters
TSource
SubscribeAwait<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, CancellationToken, UniTask>)
public static IDisposable SubscribeAwait<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, CancellationToken, UniTask> onNext)
Parameters
source
IUniTaskAsyncEnumerable<TSource>onNext
System.Func<TSource, CancellationToken, UniTask>
Returns
- System.IDisposable
Type Parameters
TSource
SubscribeAwait<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, CancellationToken, UniTask>, CancellationToken)
public static void SubscribeAwait<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, CancellationToken, UniTask> onNext, CancellationToken cancellationToken)
Parameters
source
IUniTaskAsyncEnumerable<TSource>onNext
System.Func<TSource, CancellationToken, UniTask>cancellationToken
CancellationToken
Type Parameters
TSource
SubscribeAwait<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, CancellationToken, UniTask>, Action)
public static IDisposable SubscribeAwait<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, CancellationToken, UniTask> onNext, Action onCompleted)
Parameters
source
IUniTaskAsyncEnumerable<TSource>onNext
System.Func<TSource, CancellationToken, UniTask>onCompleted
System.Action
Returns
- System.IDisposable
Type Parameters
TSource
SubscribeAwait<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, CancellationToken, UniTask>, Action, CancellationToken)
public static void SubscribeAwait<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, CancellationToken, UniTask> onNext, Action onCompleted, CancellationToken cancellationToken)
Parameters
source
IUniTaskAsyncEnumerable<TSource>onNext
System.Func<TSource, CancellationToken, UniTask>onCompleted
System.ActioncancellationToken
CancellationToken
Type Parameters
TSource
SubscribeAwait<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, CancellationToken, UniTask>, Action<Exception>)
public static IDisposable SubscribeAwait<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, CancellationToken, UniTask> onNext, Action<Exception> onError)
Parameters
source
IUniTaskAsyncEnumerable<TSource>onNext
System.Func<TSource, CancellationToken, UniTask>onError
System.Action<System.Exception>
Returns
- System.IDisposable
Type Parameters
TSource
SubscribeAwait<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, CancellationToken, UniTask>, Action<Exception>, CancellationToken)
public static void SubscribeAwait<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, CancellationToken, UniTask> onNext, Action<Exception> onError, CancellationToken cancellationToken)
Parameters
source
IUniTaskAsyncEnumerable<TSource>onNext
System.Func<TSource, CancellationToken, UniTask>onError
System.Action<System.Exception>cancellationToken
CancellationToken
Type Parameters
TSource
SubscribeAwait<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, UniTask>)
public static IDisposable SubscribeAwait<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, UniTask> onNext)
Parameters
source
IUniTaskAsyncEnumerable<TSource>onNext
System.Func<TSource, UniTask>
Returns
- System.IDisposable
Type Parameters
TSource
SubscribeAwait<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, UniTask>, CancellationToken)
public static void SubscribeAwait<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, UniTask> onNext, CancellationToken cancellationToken)
Parameters
source
IUniTaskAsyncEnumerable<TSource>onNext
System.Func<TSource, UniTask>cancellationToken
CancellationToken
Type Parameters
TSource
SubscribeAwait<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, UniTask>, Action)
public static IDisposable SubscribeAwait<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, UniTask> onNext, Action onCompleted)
Parameters
source
IUniTaskAsyncEnumerable<TSource>onNext
System.Func<TSource, UniTask>onCompleted
System.Action
Returns
- System.IDisposable
Type Parameters
TSource
SubscribeAwait<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, UniTask>, Action, CancellationToken)
public static void SubscribeAwait<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, UniTask> onNext, Action onCompleted, CancellationToken cancellationToken)
Parameters
source
IUniTaskAsyncEnumerable<TSource>onNext
System.Func<TSource, UniTask>onCompleted
System.ActioncancellationToken
CancellationToken
Type Parameters
TSource
SubscribeAwait<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, UniTask>, Action<Exception>)
public static IDisposable SubscribeAwait<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, UniTask> onNext, Action<Exception> onError)
Parameters
source
IUniTaskAsyncEnumerable<TSource>onNext
System.Func<TSource, UniTask>onError
System.Action<System.Exception>
Returns
- System.IDisposable
Type Parameters
TSource
SubscribeAwait<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, UniTask>, Action<Exception>, CancellationToken)
public static void SubscribeAwait<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, UniTask> onNext, Action<Exception> onError, CancellationToken cancellationToken)
Parameters
source
IUniTaskAsyncEnumerable<TSource>onNext
System.Func<TSource, UniTask>onError
System.Action<System.Exception>cancellationToken
CancellationToken
Type Parameters
TSource
SumAsync(IUniTaskAsyncEnumerable<Decimal>, CancellationToken)
public static UniTask<decimal> SumAsync(this IUniTaskAsyncEnumerable<decimal> source, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<System.Decimal>cancellationToken
CancellationToken
Returns
- UniTask<System.Decimal>
SumAsync(IUniTaskAsyncEnumerable<Double>, CancellationToken)
public static UniTask<double> SumAsync(this IUniTaskAsyncEnumerable<double> source, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<System.Double>cancellationToken
CancellationToken
Returns
- UniTask<System.Double>
SumAsync(IUniTaskAsyncEnumerable<Int32>, CancellationToken)
public static UniTask<int> SumAsync(this IUniTaskAsyncEnumerable<int> source, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<System.Int32>cancellationToken
CancellationToken
Returns
- UniTask<System.Int32>
SumAsync(IUniTaskAsyncEnumerable<Int64>, CancellationToken)
public static UniTask<long> SumAsync(this IUniTaskAsyncEnumerable<long> source, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<System.Int64>cancellationToken
CancellationToken
Returns
- UniTask<System.Int64>
SumAsync(IUniTaskAsyncEnumerable<Nullable<Decimal>>, CancellationToken)
public static UniTask<decimal?> SumAsync(this IUniTaskAsyncEnumerable<decimal?> source, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<System.Nullable<System.Decimal>>cancellationToken
CancellationToken
Returns
- UniTask<System.Nullable<System.Decimal>>
SumAsync(IUniTaskAsyncEnumerable<Nullable<Double>>, CancellationToken)
public static UniTask<double?> SumAsync(this IUniTaskAsyncEnumerable<double?> source, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<System.Nullable<System.Double>>cancellationToken
CancellationToken
Returns
- UniTask<System.Nullable<System.Double>>
SumAsync(IUniTaskAsyncEnumerable<Nullable<Int32>>, CancellationToken)
public static UniTask<int?> SumAsync(this IUniTaskAsyncEnumerable<int?> source, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<System.Nullable<System.Int32>>cancellationToken
CancellationToken
Returns
- UniTask<System.Nullable<System.Int32>>
SumAsync(IUniTaskAsyncEnumerable<Nullable<Int64>>, CancellationToken)
public static UniTask<long?> SumAsync(this IUniTaskAsyncEnumerable<long?> source, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<System.Nullable<System.Int64>>cancellationToken
CancellationToken
Returns
- UniTask<System.Nullable<System.Int64>>
SumAsync(IUniTaskAsyncEnumerable<Nullable<Single>>, CancellationToken)
public static UniTask<float?> SumAsync(this IUniTaskAsyncEnumerable<float?> source, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<System.Nullable<System.Single>>cancellationToken
CancellationToken
Returns
- UniTask<System.Nullable<System.Single>>
SumAsync(IUniTaskAsyncEnumerable<Single>, CancellationToken)
public static UniTask<float> SumAsync(this IUniTaskAsyncEnumerable<float> source, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<System.Single>cancellationToken
CancellationToken
Returns
- UniTask<System.Single>
SumAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, Decimal>, CancellationToken)
public static UniTask<decimal> SumAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, decimal> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, System.Decimal>cancellationToken
CancellationToken
Returns
- UniTask<System.Decimal>
Type Parameters
TSource
SumAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, Double>, CancellationToken)
public static UniTask<double> SumAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, double> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, System.Double>cancellationToken
CancellationToken
Returns
- UniTask<System.Double>
Type Parameters
TSource
SumAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, Int32>, CancellationToken)
public static UniTask<int> SumAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, int> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, System.Int32>cancellationToken
CancellationToken
Returns
- UniTask<System.Int32>
Type Parameters
TSource
SumAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, Int64>, CancellationToken)
public static UniTask<long> SumAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, long> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, System.Int64>cancellationToken
CancellationToken
Returns
- UniTask<System.Int64>
Type Parameters
TSource
SumAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, Nullable<Decimal>>, CancellationToken)
public static UniTask<decimal?> SumAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, decimal?> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, System.Nullable<System.Decimal>>cancellationToken
CancellationToken
Returns
- UniTask<System.Nullable<System.Decimal>>
Type Parameters
TSource
SumAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, Nullable<Double>>, CancellationToken)
public static UniTask<double?> SumAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, double?> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, System.Nullable<System.Double>>cancellationToken
CancellationToken
Returns
- UniTask<System.Nullable<System.Double>>
Type Parameters
TSource
SumAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, Nullable<Int32>>, CancellationToken)
public static UniTask<int?> SumAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, int?> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, System.Nullable<System.Int32>>cancellationToken
CancellationToken
Returns
- UniTask<System.Nullable<System.Int32>>
Type Parameters
TSource
SumAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, Nullable<Int64>>, CancellationToken)
public static UniTask<long?> SumAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, long?> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, System.Nullable<System.Int64>>cancellationToken
CancellationToken
Returns
- UniTask<System.Nullable<System.Int64>>
Type Parameters
TSource
SumAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, Nullable<Single>>, CancellationToken)
public static UniTask<float?> SumAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, float?> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, System.Nullable<System.Single>>cancellationToken
CancellationToken
Returns
- UniTask<System.Nullable<System.Single>>
Type Parameters
TSource
SumAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, Single>, CancellationToken)
public static UniTask<float> SumAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, float> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, System.Single>cancellationToken
CancellationToken
Returns
- UniTask<System.Single>
Type Parameters
TSource
SumAwaitAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, UniTask<Decimal>>, CancellationToken)
public static UniTask<decimal> SumAwaitAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, UniTask<decimal>> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, UniTask<System.Decimal>>cancellationToken
CancellationToken
Returns
- UniTask<System.Decimal>
Type Parameters
TSource
SumAwaitAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, UniTask<Double>>, CancellationToken)
public static UniTask<double> SumAwaitAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, UniTask<double>> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, UniTask<System.Double>>cancellationToken
CancellationToken
Returns
- UniTask<System.Double>
Type Parameters
TSource
SumAwaitAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, UniTask<Int32>>, CancellationToken)
public static UniTask<int> SumAwaitAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, UniTask<int>> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, UniTask<System.Int32>>cancellationToken
CancellationToken
Returns
- UniTask<System.Int32>
Type Parameters
TSource
SumAwaitAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, UniTask<Int64>>, CancellationToken)
public static UniTask<long> SumAwaitAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, UniTask<long>> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, UniTask<System.Int64>>cancellationToken
CancellationToken
Returns
- UniTask<System.Int64>
Type Parameters
TSource
SumAwaitAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, UniTask<Nullable<Decimal>>>, CancellationToken)
public static UniTask<decimal?> SumAwaitAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, UniTask<decimal?>> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, UniTask<System.Nullable<System.Decimal>>>cancellationToken
CancellationToken
Returns
- UniTask<System.Nullable<System.Decimal>>
Type Parameters
TSource
SumAwaitAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, UniTask<Nullable<Double>>>, CancellationToken)
public static UniTask<double?> SumAwaitAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, UniTask<double?>> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, UniTask<System.Nullable<System.Double>>>cancellationToken
CancellationToken
Returns
- UniTask<System.Nullable<System.Double>>
Type Parameters
TSource
SumAwaitAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, UniTask<Nullable<Int32>>>, CancellationToken)
public static UniTask<int?> SumAwaitAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, UniTask<int?>> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, UniTask<System.Nullable<System.Int32>>>cancellationToken
CancellationToken
Returns
- UniTask<System.Nullable<System.Int32>>
Type Parameters
TSource
SumAwaitAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, UniTask<Nullable<Int64>>>, CancellationToken)
public static UniTask<long?> SumAwaitAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, UniTask<long?>> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, UniTask<System.Nullable<System.Int64>>>cancellationToken
CancellationToken
Returns
- UniTask<System.Nullable<System.Int64>>
Type Parameters
TSource
SumAwaitAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, UniTask<Nullable<Single>>>, CancellationToken)
public static UniTask<float?> SumAwaitAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, UniTask<float?>> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, UniTask<System.Nullable<System.Single>>>cancellationToken
CancellationToken
Returns
- UniTask<System.Nullable<System.Single>>
Type Parameters
TSource
SumAwaitAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, UniTask<Single>>, CancellationToken)
public static UniTask<float> SumAwaitAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, UniTask<float>> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, UniTask<System.Single>>cancellationToken
CancellationToken
Returns
- UniTask<System.Single>
Type Parameters
TSource
SumAwaitWithCancellationAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, CancellationToken, UniTask<Decimal>>, CancellationToken)
public static UniTask<decimal> SumAwaitWithCancellationAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, CancellationToken, UniTask<decimal>> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, CancellationToken, UniTask<System.Decimal>>cancellationToken
CancellationToken
Returns
- UniTask<System.Decimal>
Type Parameters
TSource
SumAwaitWithCancellationAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, CancellationToken, UniTask<Double>>, CancellationToken)
public static UniTask<double> SumAwaitWithCancellationAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, CancellationToken, UniTask<double>> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, CancellationToken, UniTask<System.Double>>cancellationToken
CancellationToken
Returns
- UniTask<System.Double>
Type Parameters
TSource
SumAwaitWithCancellationAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, CancellationToken, UniTask<Int32>>, CancellationToken)
public static UniTask<int> SumAwaitWithCancellationAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, CancellationToken, UniTask<int>> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, CancellationToken, UniTask<System.Int32>>cancellationToken
CancellationToken
Returns
- UniTask<System.Int32>
Type Parameters
TSource
SumAwaitWithCancellationAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, CancellationToken, UniTask<Int64>>, CancellationToken)
public static UniTask<long> SumAwaitWithCancellationAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, CancellationToken, UniTask<long>> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, CancellationToken, UniTask<System.Int64>>cancellationToken
CancellationToken
Returns
- UniTask<System.Int64>
Type Parameters
TSource
SumAwaitWithCancellationAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, CancellationToken, UniTask<Nullable<Decimal>>>, CancellationToken)
public static UniTask<decimal?> SumAwaitWithCancellationAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, CancellationToken, UniTask<decimal?>> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, CancellationToken, UniTask<System.Nullable<System.Decimal>>>cancellationToken
CancellationToken
Returns
- UniTask<System.Nullable<System.Decimal>>
Type Parameters
TSource
SumAwaitWithCancellationAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, CancellationToken, UniTask<Nullable<Double>>>, CancellationToken)
public static UniTask<double?> SumAwaitWithCancellationAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, CancellationToken, UniTask<double?>> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, CancellationToken, UniTask<System.Nullable<System.Double>>>cancellationToken
CancellationToken
Returns
- UniTask<System.Nullable<System.Double>>
Type Parameters
TSource
SumAwaitWithCancellationAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, CancellationToken, UniTask<Nullable<Int32>>>, CancellationToken)
public static UniTask<int?> SumAwaitWithCancellationAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, CancellationToken, UniTask<int?>> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, CancellationToken, UniTask<System.Nullable<System.Int32>>>cancellationToken
CancellationToken
Returns
- UniTask<System.Nullable<System.Int32>>
Type Parameters
TSource
SumAwaitWithCancellationAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, CancellationToken, UniTask<Nullable<Int64>>>, CancellationToken)
public static UniTask<long?> SumAwaitWithCancellationAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, CancellationToken, UniTask<long?>> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, CancellationToken, UniTask<System.Nullable<System.Int64>>>cancellationToken
CancellationToken
Returns
- UniTask<System.Nullable<System.Int64>>
Type Parameters
TSource
SumAwaitWithCancellationAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, CancellationToken, UniTask<Nullable<Single>>>, CancellationToken)
public static UniTask<float?> SumAwaitWithCancellationAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, CancellationToken, UniTask<float?>> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, CancellationToken, UniTask<System.Nullable<System.Single>>>cancellationToken
CancellationToken
Returns
- UniTask<System.Nullable<System.Single>>
Type Parameters
TSource
SumAwaitWithCancellationAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, CancellationToken, UniTask<Single>>, CancellationToken)
public static UniTask<float> SumAwaitWithCancellationAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, CancellationToken, UniTask<float>> selector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>selector
System.Func<TSource, CancellationToken, UniTask<System.Single>>cancellationToken
CancellationToken
Returns
- UniTask<System.Single>
Type Parameters
TSource
Take<TSource>(IUniTaskAsyncEnumerable<TSource>, Int32)
public static IUniTaskAsyncEnumerable<TSource> Take<TSource>(this IUniTaskAsyncEnumerable<TSource> source, int count)
Parameters
source
IUniTaskAsyncEnumerable<TSource>count
System.Int32
Returns
- IUniTaskAsyncEnumerable<TSource>
Type Parameters
TSource
TakeLast<TSource>(IUniTaskAsyncEnumerable<TSource>, Int32)
public static IUniTaskAsyncEnumerable<TSource> TakeLast<TSource>(this IUniTaskAsyncEnumerable<TSource> source, int count)
Parameters
source
IUniTaskAsyncEnumerable<TSource>count
System.Int32
Returns
- IUniTaskAsyncEnumerable<TSource>
Type Parameters
TSource
TakeUntil<TSource>(IUniTaskAsyncEnumerable<TSource>, UniTask)
public static IUniTaskAsyncEnumerable<TSource> TakeUntil<TSource>(this IUniTaskAsyncEnumerable<TSource> source, UniTask other)
Parameters
source
IUniTaskAsyncEnumerable<TSource>other
UniTask
Returns
- IUniTaskAsyncEnumerable<TSource>
Type Parameters
TSource
TakeUntil<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<CancellationToken, UniTask>)
public static IUniTaskAsyncEnumerable<TSource> TakeUntil<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<CancellationToken, UniTask> other)
Parameters
source
IUniTaskAsyncEnumerable<TSource>other
System.Func<CancellationToken, UniTask>
Returns
- IUniTaskAsyncEnumerable<TSource>
Type Parameters
TSource
TakeUntilCanceled<TSource>(IUniTaskAsyncEnumerable<TSource>, CancellationToken)
public static IUniTaskAsyncEnumerable<TSource> TakeUntilCanceled<TSource>(this IUniTaskAsyncEnumerable<TSource> source, CancellationToken cancellationToken)
Parameters
source
IUniTaskAsyncEnumerable<TSource>cancellationToken
CancellationToken
Returns
- IUniTaskAsyncEnumerable<TSource>
Type Parameters
TSource
TakeWhile<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, Boolean>)
public static IUniTaskAsyncEnumerable<TSource> TakeWhile<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, bool> predicate)
Parameters
source
IUniTaskAsyncEnumerable<TSource>predicate
System.Func<TSource, System.Boolean>
Returns
- IUniTaskAsyncEnumerable<TSource>
Type Parameters
TSource
TakeWhile<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, Int32, Boolean>)
public static IUniTaskAsyncEnumerable<TSource> TakeWhile<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, int, bool> predicate)
Parameters
source
IUniTaskAsyncEnumerable<TSource>predicate
System.Func<TSource, System.Int32, System.Boolean>
Returns
- IUniTaskAsyncEnumerable<TSource>
Type Parameters
TSource
TakeWhileAwait<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, UniTask<Boolean>>)
public static IUniTaskAsyncEnumerable<TSource> TakeWhileAwait<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, UniTask<bool>> predicate)
Parameters
source
IUniTaskAsyncEnumerable<TSource>predicate
System.Func<TSource, UniTask<System.Boolean>>
Returns
- IUniTaskAsyncEnumerable<TSource>
Type Parameters
TSource
TakeWhileAwait<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, Int32, UniTask<Boolean>>)
public static IUniTaskAsyncEnumerable<TSource> TakeWhileAwait<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, int, UniTask<bool>> predicate)
Parameters
source
IUniTaskAsyncEnumerable<TSource>predicate
System.Func<TSource, System.Int32, UniTask<System.Boolean>>
Returns
- IUniTaskAsyncEnumerable<TSource>
Type Parameters
TSource
TakeWhileAwaitWithCancellation<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, CancellationToken, UniTask<Boolean>>)
public static IUniTaskAsyncEnumerable<TSource> TakeWhileAwaitWithCancellation<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, CancellationToken, UniTask<bool>> predicate)
Parameters
source
IUniTaskAsyncEnumerable<TSource>predicate
System.Func<TSource, CancellationToken, UniTask<System.Boolean>>
Returns
- IUniTaskAsyncEnumerable<TSource>
Type Parameters
TSource
TakeWhileAwaitWithCancellation<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, Int32, CancellationToken, UniTask<Boolean>>)
public static IUniTaskAsyncEnumerable<TSource> TakeWhileAwaitWithCancellation<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, int, CancellationToken, UniTask<bool>> predicate)
Parameters
source
IUniTaskAsyncEnumerable<TSource>predicate
System.Func<TSource, System.Int32, CancellationToken, UniTask<System.Boolean>>
Returns
- IUniTaskAsyncEnumerable<TSource>
Type Parameters
TSource
ThenBy<TSource, TKey>(IUniTaskOrderedAsyncEnumerable<TSource>, Func<TSource, TKey>)
public static IUniTaskOrderedAsyncEnumerable<TSource> ThenBy<TSource, TKey>(this IUniTaskOrderedAsyncEnumerable<TSource> source, Func<TSource, TKey> keySelector)
Parameters
source
IUniTaskOrderedAsyncEnumerable<TSource>keySelector
System.Func<TSource, TKey>
Returns
- IUniTaskOrderedAsyncEnumerable<TSource>
Type Parameters
TSource
TKey
ThenBy<TSource, TKey>(IUniTaskOrderedAsyncEnumerable<TSource>, Func<TSource, TKey>, IComparer<TKey>)
public static IUniTaskOrderedAsyncEnumerable<TSource> ThenBy<TSource, TKey>(this IUniTaskOrderedAsyncEnumerable<TSource> source, Func<TSource, TKey> keySelector, IComparer<TKey> comparer)
Parameters
source
IUniTaskOrderedAsyncEnumerable<TSource>keySelector
System.Func<TSource, TKey>comparer
IComparer<TKey>
Returns
- IUniTaskOrderedAsyncEnumerable<TSource>
Type Parameters
TSource
TKey
ThenByAwait<TSource, TKey>(IUniTaskOrderedAsyncEnumerable<TSource>, Func<TSource, UniTask<TKey>>)
public static IUniTaskOrderedAsyncEnumerable<TSource> ThenByAwait<TSource, TKey>(this IUniTaskOrderedAsyncEnumerable<TSource> source, Func<TSource, UniTask<TKey>> keySelector)
Parameters
source
IUniTaskOrderedAsyncEnumerable<TSource>keySelector
System.Func<TSource, UniTask<TKey>>
Returns
- IUniTaskOrderedAsyncEnumerable<TSource>
Type Parameters
TSource
TKey
ThenByAwait<TSource, TKey>(IUniTaskOrderedAsyncEnumerable<TSource>, Func<TSource, UniTask<TKey>>, IComparer<TKey>)
public static IUniTaskOrderedAsyncEnumerable<TSource> ThenByAwait<TSource, TKey>(this IUniTaskOrderedAsyncEnumerable<TSource> source, Func<TSource, UniTask<TKey>> keySelector, IComparer<TKey> comparer)
Parameters
source
IUniTaskOrderedAsyncEnumerable<TSource>keySelector
System.Func<TSource, UniTask<TKey>>comparer
IComparer<TKey>
Returns
- IUniTaskOrderedAsyncEnumerable<TSource>
Type Parameters
TSource
TKey
ThenByAwaitWithCancellation<TSource, TKey>(IUniTaskOrderedAsyncEnumerable<TSource>, Func<TSource, CancellationToken, UniTask<TKey>>)
public static IUniTaskOrderedAsyncEnumerable<TSource> ThenByAwaitWithCancellation<TSource, TKey>(this IUniTaskOrderedAsyncEnumerable<TSource> source, Func<TSource, CancellationToken, UniTask<TKey>> keySelector)
Parameters
source
IUniTaskOrderedAsyncEnumerable<TSource>keySelector
System.Func<TSource, CancellationToken, UniTask<TKey>>
Returns
- IUniTaskOrderedAsyncEnumerable<TSource>
Type Parameters
TSource
TKey
ThenByAwaitWithCancellation<TSource, TKey>(IUniTaskOrderedAsyncEnumerable<TSource>, Func<TSource, CancellationToken, UniTask<TKey>>, IComparer<TKey>)
public static IUniTaskOrderedAsyncEnumerable<TSource> ThenByAwaitWithCancellation<TSource, TKey>(this IUniTaskOrderedAsyncEnumerable<TSource> source, Func<TSource, CancellationToken, UniTask<TKey>> keySelector, IComparer<TKey> comparer)
Parameters
source
IUniTaskOrderedAsyncEnumerable<TSource>keySelector
System.Func<TSource, CancellationToken, UniTask<TKey>>comparer
IComparer<TKey>
Returns
- IUniTaskOrderedAsyncEnumerable<TSource>
Type Parameters
TSource
TKey
ThenByDescending<TSource, TKey>(IUniTaskOrderedAsyncEnumerable<TSource>, Func<TSource, TKey>)
public static IUniTaskOrderedAsyncEnumerable<TSource> ThenByDescending<TSource, TKey>(this IUniTaskOrderedAsyncEnumerable<TSource> source, Func<TSource, TKey> keySelector)
Parameters
source
IUniTaskOrderedAsyncEnumerable<TSource>keySelector
System.Func<TSource, TKey>
Returns
- IUniTaskOrderedAsyncEnumerable<TSource>
Type Parameters
TSource
TKey
ThenByDescending<TSource, TKey>(IUniTaskOrderedAsyncEnumerable<TSource>, Func<TSource, TKey>, IComparer<TKey>)
public static IUniTaskOrderedAsyncEnumerable<TSource> ThenByDescending<TSource, TKey>(this IUniTaskOrderedAsyncEnumerable<TSource> source, Func<TSource, TKey> keySelector, IComparer<TKey> comparer)
Parameters
source
IUniTaskOrderedAsyncEnumerable<TSource>keySelector
System.Func<TSource, TKey>comparer
IComparer<TKey>
Returns
- IUniTaskOrderedAsyncEnumerable<TSource>
Type Parameters
TSource
TKey
ThenByDescendingAwait<TSource, TKey>(IUniTaskOrderedAsyncEnumerable<TSource>, Func<TSource, UniTask<TKey>>)
public static IUniTaskOrderedAsyncEnumerable<TSource> ThenByDescendingAwait<TSource, TKey>(this IUniTaskOrderedAsyncEnumerable<TSource> source, Func<TSource, UniTask<TKey>> keySelector)
Parameters
source
IUniTaskOrderedAsyncEnumerable<TSource>keySelector
System.Func<TSource, UniTask<TKey>>
Returns
- IUniTaskOrderedAsyncEnumerable<TSource>
Type Parameters
TSource
TKey
ThenByDescendingAwait<TSource, TKey>(IUniTaskOrderedAsyncEnumerable<TSource>, Func<TSource, UniTask<TKey>>, IComparer<TKey>)
public static IUniTaskOrderedAsyncEnumerable<TSource> ThenByDescendingAwait<TSource, TKey>(this IUniTaskOrderedAsyncEnumerable<TSource> source, Func<TSource, UniTask<TKey>> keySelector, IComparer<TKey> comparer)
Parameters
source
IUniTaskOrderedAsyncEnumerable<TSource>keySelector
System.Func<TSource, UniTask<TKey>>comparer
IComparer<TKey>
Returns
- IUniTaskOrderedAsyncEnumerable<TSource>
Type Parameters
TSource
TKey
ThenByDescendingAwaitWithCancellation<TSource, TKey>(IUniTaskOrderedAsyncEnumerable<TSource>, Func<TSource, CancellationToken, UniTask<TKey>>)
public static IUniTaskOrderedAsyncEnumerable<TSource> ThenByDescendingAwaitWithCancellation<TSource, TKey>(this IUniTaskOrderedAsyncEnumerable<TSource> source, Func<TSource, CancellationToken, UniTask<TKey>> keySelector)
Parameters
source
IUniTaskOrderedAsyncEnumerable<TSource>keySelector
System.Func<TSource, CancellationToken, UniTask<TKey>>
Returns
- IUniTaskOrderedAsyncEnumerable<TSource>
Type Parameters
TSource
TKey
ThenByDescendingAwaitWithCancellation<TSource, TKey>(IUniTaskOrderedAsyncEnumerable<TSource>, Func<TSource, CancellationToken, UniTask<TKey>>, IComparer<TKey>)
public static IUniTaskOrderedAsyncEnumerable<TSource> ThenByDescendingAwaitWithCancellation<TSource, TKey>(this IUniTaskOrderedAsyncEnumerable<TSource> source, Func<TSource, CancellationToken, UniTask<TKey>> keySelector, IComparer<TKey> comparer)
Parameters
source
IUniTaskOrderedAsyncEnumerable<TSource>keySelector
System.Func<TSource, CancellationToken, UniTask<TKey>>comparer
IComparer<TKey>
Returns
- IUniTaskOrderedAsyncEnumerable<TSource>
Type Parameters
TSource
TKey
Throw<TValue>(Exception)
public static IUniTaskAsyncEnumerable<TValue> Throw<TValue>(Exception exception)
Parameters
exception
System.Exception
Returns
- IUniTaskAsyncEnumerable<TValue>
Type Parameters
TValue
Timer(TimeSpan, PlayerLoopTiming, Boolean)
public static IUniTaskAsyncEnumerable<AsyncUnit> Timer(TimeSpan dueTime, PlayerLoopTiming updateTiming = PlayerLoopTiming.Update, bool ignoreTimeScale = false)
Parameters
dueTime
System.TimeSpanupdateTiming
PlayerLoopTimingignoreTimeScale
System.Boolean
Returns
Timer(TimeSpan, TimeSpan, PlayerLoopTiming, Boolean)
public static IUniTaskAsyncEnumerable<AsyncUnit> Timer(TimeSpan dueTime, TimeSpan period, PlayerLoopTiming updateTiming = PlayerLoopTiming.Update, bool ignoreTimeScale = false)
Parameters
dueTime
System.TimeSpanperiod
System.TimeSpanupdateTiming
PlayerLoopTimingignoreTimeScale
System.Boolean
Returns
TimerFrame(Int32, PlayerLoopTiming)
public static IUniTaskAsyncEnumerable<AsyncUnit> TimerFrame(int dueTimeFrameCount, PlayerLoopTiming updateTiming = PlayerLoopTiming.Update)
Parameters
dueTimeFrameCount
System.Int32updateTiming
PlayerLoopTiming
Returns
TimerFrame(Int32, Int32, PlayerLoopTiming)
public static IUniTaskAsyncEnumerable<AsyncUnit> TimerFrame(int dueTimeFrameCount, int periodFrameCount, PlayerLoopTiming updateTiming = PlayerLoopTiming.Update)
Parameters
dueTimeFrameCount
System.Int32periodFrameCount
System.Int32updateTiming
PlayerLoopTiming
Returns
ToArrayAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, CancellationToken)
public static UniTask<TSource[]> ToArrayAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>cancellationToken
CancellationToken
Returns
- UniTask<TSource[]>
Type Parameters
TSource
ToDictionaryAsync<TSource, TKey>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, TKey>, CancellationToken)
public static UniTask<Dictionary<TKey, TSource>> ToDictionaryAsync<TSource, TKey>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, TKey> keySelector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>keySelector
System.Func<TSource, TKey>cancellationToken
CancellationToken
Returns
- UniTask<Dictionary<TKey, TSource>>
Type Parameters
TSource
TKey
ToDictionaryAsync<TSource, TKey>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, TKey>, IEqualityComparer<TKey>, CancellationToken)
public static UniTask<Dictionary<TKey, TSource>> ToDictionaryAsync<TSource, TKey>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, TKey> keySelector, IEqualityComparer<TKey> comparer, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>keySelector
System.Func<TSource, TKey>comparer
IEqualityComparer<TKey>cancellationToken
CancellationToken
Returns
- UniTask<Dictionary<TKey, TSource>>
Type Parameters
TSource
TKey
ToDictionaryAsync<TSource, TKey, TElement>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, TKey>, Func<TSource, TElement>, CancellationToken)
public static UniTask<Dictionary<TKey, TElement>> ToDictionaryAsync<TSource, TKey, TElement>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, TKey> keySelector, Func<TSource, TElement> elementSelector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>keySelector
System.Func<TSource, TKey>elementSelector
System.Func<TSource, TElement>cancellationToken
CancellationToken
Returns
- UniTask<Dictionary<TKey, TElement>>
Type Parameters
TSource
TKey
TElement
ToDictionaryAsync<TSource, TKey, TElement>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, TKey>, Func<TSource, TElement>, IEqualityComparer<TKey>, CancellationToken)
public static UniTask<Dictionary<TKey, TElement>> ToDictionaryAsync<TSource, TKey, TElement>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, TKey> keySelector, Func<TSource, TElement> elementSelector, IEqualityComparer<TKey> comparer, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>keySelector
System.Func<TSource, TKey>elementSelector
System.Func<TSource, TElement>comparer
IEqualityComparer<TKey>cancellationToken
CancellationToken
Returns
- UniTask<Dictionary<TKey, TElement>>
Type Parameters
TSource
TKey
TElement
ToDictionaryAwaitAsync<TSource, TKey>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, UniTask<TKey>>, CancellationToken)
public static UniTask<Dictionary<TKey, TSource>> ToDictionaryAwaitAsync<TSource, TKey>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, UniTask<TKey>> keySelector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>keySelector
System.Func<TSource, UniTask<TKey>>cancellationToken
CancellationToken
Returns
- UniTask<Dictionary<TKey, TSource>>
Type Parameters
TSource
TKey
ToDictionaryAwaitAsync<TSource, TKey>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, UniTask<TKey>>, IEqualityComparer<TKey>, CancellationToken)
public static UniTask<Dictionary<TKey, TSource>> ToDictionaryAwaitAsync<TSource, TKey>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, UniTask<TKey>> keySelector, IEqualityComparer<TKey> comparer, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>keySelector
System.Func<TSource, UniTask<TKey>>comparer
IEqualityComparer<TKey>cancellationToken
CancellationToken
Returns
- UniTask<Dictionary<TKey, TSource>>
Type Parameters
TSource
TKey
ToDictionaryAwaitAsync<TSource, TKey, TElement>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, UniTask<TKey>>, Func<TSource, UniTask<TElement>>, CancellationToken)
public static UniTask<Dictionary<TKey, TElement>> ToDictionaryAwaitAsync<TSource, TKey, TElement>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, UniTask<TKey>> keySelector, Func<TSource, UniTask<TElement>> elementSelector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>keySelector
System.Func<TSource, UniTask<TKey>>elementSelector
System.Func<TSource, UniTask<TElement>>cancellationToken
CancellationToken
Returns
- UniTask<Dictionary<TKey, TElement>>
Type Parameters
TSource
TKey
TElement
ToDictionaryAwaitAsync<TSource, TKey, TElement>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, UniTask<TKey>>, Func<TSource, UniTask<TElement>>, IEqualityComparer<TKey>, CancellationToken)
public static UniTask<Dictionary<TKey, TElement>> ToDictionaryAwaitAsync<TSource, TKey, TElement>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, UniTask<TKey>> keySelector, Func<TSource, UniTask<TElement>> elementSelector, IEqualityComparer<TKey> comparer, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>keySelector
System.Func<TSource, UniTask<TKey>>elementSelector
System.Func<TSource, UniTask<TElement>>comparer
IEqualityComparer<TKey>cancellationToken
CancellationToken
Returns
- UniTask<Dictionary<TKey, TElement>>
Type Parameters
TSource
TKey
TElement
ToDictionaryAwaitWithCancellationAsync<TSource, TKey>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, CancellationToken, UniTask<TKey>>, CancellationToken)
public static UniTask<Dictionary<TKey, TSource>> ToDictionaryAwaitWithCancellationAsync<TSource, TKey>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, CancellationToken, UniTask<TKey>> keySelector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>keySelector
System.Func<TSource, CancellationToken, UniTask<TKey>>cancellationToken
CancellationToken
Returns
- UniTask<Dictionary<TKey, TSource>>
Type Parameters
TSource
TKey
ToDictionaryAwaitWithCancellationAsync<TSource, TKey>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, CancellationToken, UniTask<TKey>>, IEqualityComparer<TKey>, CancellationToken)
public static UniTask<Dictionary<TKey, TSource>> ToDictionaryAwaitWithCancellationAsync<TSource, TKey>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, CancellationToken, UniTask<TKey>> keySelector, IEqualityComparer<TKey> comparer, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>keySelector
System.Func<TSource, CancellationToken, UniTask<TKey>>comparer
IEqualityComparer<TKey>cancellationToken
CancellationToken
Returns
- UniTask<Dictionary<TKey, TSource>>
Type Parameters
TSource
TKey
ToDictionaryAwaitWithCancellationAsync<TSource, TKey, TElement>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, CancellationToken, UniTask<TKey>>, Func<TSource, CancellationToken, UniTask<TElement>>, CancellationToken)
public static UniTask<Dictionary<TKey, TElement>> ToDictionaryAwaitWithCancellationAsync<TSource, TKey, TElement>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, CancellationToken, UniTask<TKey>> keySelector, Func<TSource, CancellationToken, UniTask<TElement>> elementSelector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>keySelector
System.Func<TSource, CancellationToken, UniTask<TKey>>elementSelector
System.Func<TSource, CancellationToken, UniTask<TElement>>cancellationToken
CancellationToken
Returns
- UniTask<Dictionary<TKey, TElement>>
Type Parameters
TSource
TKey
TElement
ToDictionaryAwaitWithCancellationAsync<TSource, TKey, TElement>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, CancellationToken, UniTask<TKey>>, Func<TSource, CancellationToken, UniTask<TElement>>, IEqualityComparer<TKey>, CancellationToken)
public static UniTask<Dictionary<TKey, TElement>> ToDictionaryAwaitWithCancellationAsync<TSource, TKey, TElement>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, CancellationToken, UniTask<TKey>> keySelector, Func<TSource, CancellationToken, UniTask<TElement>> elementSelector, IEqualityComparer<TKey> comparer, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>keySelector
System.Func<TSource, CancellationToken, UniTask<TKey>>elementSelector
System.Func<TSource, CancellationToken, UniTask<TElement>>comparer
IEqualityComparer<TKey>cancellationToken
CancellationToken
Returns
- UniTask<Dictionary<TKey, TElement>>
Type Parameters
TSource
TKey
TElement
ToHashSetAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, CancellationToken)
public static UniTask<HashSet<TSource>> ToHashSetAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>cancellationToken
CancellationToken
Returns
- UniTask<HashSet<TSource>>
Type Parameters
TSource
ToHashSetAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, IEqualityComparer<TSource>, CancellationToken)
public static UniTask<HashSet<TSource>> ToHashSetAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, IEqualityComparer<TSource> comparer, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>comparer
IEqualityComparer<TSource>cancellationToken
CancellationToken
Returns
- UniTask<HashSet<TSource>>
Type Parameters
TSource
ToListAsync<TSource>(IUniTaskAsyncEnumerable<TSource>, CancellationToken)
public static UniTask<List<TSource>> ToListAsync<TSource>(this IUniTaskAsyncEnumerable<TSource> source, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>cancellationToken
CancellationToken
Returns
- UniTask<List<TSource>>
Type Parameters
TSource
ToLookupAsync<TSource, TKey>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, TKey>, CancellationToken)
public static UniTask<ILookup<TKey, TSource>> ToLookupAsync<TSource, TKey>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, TKey> keySelector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>keySelector
System.Func<TSource, TKey>cancellationToken
CancellationToken
Returns
- UniTask<ILookup<TKey, TSource>>
Type Parameters
TSource
TKey
ToLookupAsync<TSource, TKey>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, TKey>, IEqualityComparer<TKey>, CancellationToken)
public static UniTask<ILookup<TKey, TSource>> ToLookupAsync<TSource, TKey>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, TKey> keySelector, IEqualityComparer<TKey> comparer, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>keySelector
System.Func<TSource, TKey>comparer
IEqualityComparer<TKey>cancellationToken
CancellationToken
Returns
- UniTask<ILookup<TKey, TSource>>
Type Parameters
TSource
TKey
ToLookupAsync<TSource, TKey, TElement>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, TKey>, Func<TSource, TElement>, CancellationToken)
public static UniTask<ILookup<TKey, TElement>> ToLookupAsync<TSource, TKey, TElement>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, TKey> keySelector, Func<TSource, TElement> elementSelector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>keySelector
System.Func<TSource, TKey>elementSelector
System.Func<TSource, TElement>cancellationToken
CancellationToken
Returns
- UniTask<ILookup<TKey, TElement>>
Type Parameters
TSource
TKey
TElement
ToLookupAsync<TSource, TKey, TElement>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, TKey>, Func<TSource, TElement>, IEqualityComparer<TKey>, CancellationToken)
public static UniTask<ILookup<TKey, TElement>> ToLookupAsync<TSource, TKey, TElement>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, TKey> keySelector, Func<TSource, TElement> elementSelector, IEqualityComparer<TKey> comparer, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>keySelector
System.Func<TSource, TKey>elementSelector
System.Func<TSource, TElement>comparer
IEqualityComparer<TKey>cancellationToken
CancellationToken
Returns
- UniTask<ILookup<TKey, TElement>>
Type Parameters
TSource
TKey
TElement
ToLookupAwaitAsync<TSource, TKey>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, UniTask<TKey>>, CancellationToken)
public static UniTask<ILookup<TKey, TSource>> ToLookupAwaitAsync<TSource, TKey>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, UniTask<TKey>> keySelector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>keySelector
System.Func<TSource, UniTask<TKey>>cancellationToken
CancellationToken
Returns
- UniTask<ILookup<TKey, TSource>>
Type Parameters
TSource
TKey
ToLookupAwaitAsync<TSource, TKey>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, UniTask<TKey>>, IEqualityComparer<TKey>, CancellationToken)
public static UniTask<ILookup<TKey, TSource>> ToLookupAwaitAsync<TSource, TKey>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, UniTask<TKey>> keySelector, IEqualityComparer<TKey> comparer, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>keySelector
System.Func<TSource, UniTask<TKey>>comparer
IEqualityComparer<TKey>cancellationToken
CancellationToken
Returns
- UniTask<ILookup<TKey, TSource>>
Type Parameters
TSource
TKey
ToLookupAwaitAsync<TSource, TKey, TElement>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, UniTask<TKey>>, Func<TSource, UniTask<TElement>>, CancellationToken)
public static UniTask<ILookup<TKey, TElement>> ToLookupAwaitAsync<TSource, TKey, TElement>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, UniTask<TKey>> keySelector, Func<TSource, UniTask<TElement>> elementSelector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>keySelector
System.Func<TSource, UniTask<TKey>>elementSelector
System.Func<TSource, UniTask<TElement>>cancellationToken
CancellationToken
Returns
- UniTask<ILookup<TKey, TElement>>
Type Parameters
TSource
TKey
TElement
ToLookupAwaitAsync<TSource, TKey, TElement>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, UniTask<TKey>>, Func<TSource, UniTask<TElement>>, IEqualityComparer<TKey>, CancellationToken)
public static UniTask<ILookup<TKey, TElement>> ToLookupAwaitAsync<TSource, TKey, TElement>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, UniTask<TKey>> keySelector, Func<TSource, UniTask<TElement>> elementSelector, IEqualityComparer<TKey> comparer, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>keySelector
System.Func<TSource, UniTask<TKey>>elementSelector
System.Func<TSource, UniTask<TElement>>comparer
IEqualityComparer<TKey>cancellationToken
CancellationToken
Returns
- UniTask<ILookup<TKey, TElement>>
Type Parameters
TSource
TKey
TElement
ToLookupAwaitWithCancellationAsync<TSource, TKey>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, CancellationToken, UniTask<TKey>>, CancellationToken)
public static UniTask<ILookup<TKey, TSource>> ToLookupAwaitWithCancellationAsync<TSource, TKey>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, CancellationToken, UniTask<TKey>> keySelector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>keySelector
System.Func<TSource, CancellationToken, UniTask<TKey>>cancellationToken
CancellationToken
Returns
- UniTask<ILookup<TKey, TSource>>
Type Parameters
TSource
TKey
ToLookupAwaitWithCancellationAsync<TSource, TKey>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, CancellationToken, UniTask<TKey>>, IEqualityComparer<TKey>, CancellationToken)
public static UniTask<ILookup<TKey, TSource>> ToLookupAwaitWithCancellationAsync<TSource, TKey>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, CancellationToken, UniTask<TKey>> keySelector, IEqualityComparer<TKey> comparer, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>keySelector
System.Func<TSource, CancellationToken, UniTask<TKey>>comparer
IEqualityComparer<TKey>cancellationToken
CancellationToken
Returns
- UniTask<ILookup<TKey, TSource>>
Type Parameters
TSource
TKey
ToLookupAwaitWithCancellationAsync<TSource, TKey, TElement>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, CancellationToken, UniTask<TKey>>, Func<TSource, CancellationToken, UniTask<TElement>>, CancellationToken)
public static UniTask<ILookup<TKey, TElement>> ToLookupAwaitWithCancellationAsync<TSource, TKey, TElement>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, CancellationToken, UniTask<TKey>> keySelector, Func<TSource, CancellationToken, UniTask<TElement>> elementSelector, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>keySelector
System.Func<TSource, CancellationToken, UniTask<TKey>>elementSelector
System.Func<TSource, CancellationToken, UniTask<TElement>>cancellationToken
CancellationToken
Returns
- UniTask<ILookup<TKey, TElement>>
Type Parameters
TSource
TKey
TElement
ToLookupAwaitWithCancellationAsync<TSource, TKey, TElement>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, CancellationToken, UniTask<TKey>>, Func<TSource, CancellationToken, UniTask<TElement>>, IEqualityComparer<TKey>, CancellationToken)
public static UniTask<ILookup<TKey, TElement>> ToLookupAwaitWithCancellationAsync<TSource, TKey, TElement>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, CancellationToken, UniTask<TKey>> keySelector, Func<TSource, CancellationToken, UniTask<TElement>> elementSelector, IEqualityComparer<TKey> comparer, CancellationToken cancellationToken = null)
Parameters
source
IUniTaskAsyncEnumerable<TSource>keySelector
System.Func<TSource, CancellationToken, UniTask<TKey>>elementSelector
System.Func<TSource, CancellationToken, UniTask<TElement>>comparer
IEqualityComparer<TKey>cancellationToken
CancellationToken
Returns
- UniTask<ILookup<TKey, TElement>>
Type Parameters
TSource
TKey
TElement
ToObservable<TSource>(IUniTaskAsyncEnumerable<TSource>)
public static IObservable<TSource> ToObservable<TSource>(this IUniTaskAsyncEnumerable<TSource> source)
Parameters
source
IUniTaskAsyncEnumerable<TSource>
Returns
- System.IObservable<TSource>
Type Parameters
TSource
ToUniTaskAsyncEnumerable<TSource>(UniTask<TSource>)
public static IUniTaskAsyncEnumerable<TSource> ToUniTaskAsyncEnumerable<TSource>(this UniTask<TSource> source)
Parameters
source
UniTask<TSource>
Returns
- IUniTaskAsyncEnumerable<TSource>
Type Parameters
TSource
ToUniTaskAsyncEnumerable<TSource>(IEnumerable<TSource>)
public static IUniTaskAsyncEnumerable<TSource> ToUniTaskAsyncEnumerable<TSource>(this IEnumerable<TSource> source)
Parameters
source
IEnumerable<TSource>
Returns
- IUniTaskAsyncEnumerable<TSource>
Type Parameters
TSource
ToUniTaskAsyncEnumerable<TSource>(IObservable<TSource>)
public static IUniTaskAsyncEnumerable<TSource> ToUniTaskAsyncEnumerable<TSource>(this IObservable<TSource> source)
Parameters
source
System.IObservable<TSource>
Returns
- IUniTaskAsyncEnumerable<TSource>
Type Parameters
TSource
ToUniTaskAsyncEnumerable<TSource>(Task<TSource>)
public static IUniTaskAsyncEnumerable<TSource> ToUniTaskAsyncEnumerable<TSource>(this Task<TSource> source)
Parameters
source
Task<TSource>
Returns
- IUniTaskAsyncEnumerable<TSource>
Type Parameters
TSource
Union<TSource>(IUniTaskAsyncEnumerable<TSource>, IUniTaskAsyncEnumerable<TSource>)
public static IUniTaskAsyncEnumerable<TSource> Union<TSource>(this IUniTaskAsyncEnumerable<TSource> first, IUniTaskAsyncEnumerable<TSource> second)
Parameters
first
IUniTaskAsyncEnumerable<TSource>second
IUniTaskAsyncEnumerable<TSource>
Returns
- IUniTaskAsyncEnumerable<TSource>
Type Parameters
TSource
Union<TSource>(IUniTaskAsyncEnumerable<TSource>, IUniTaskAsyncEnumerable<TSource>, IEqualityComparer<TSource>)
public static IUniTaskAsyncEnumerable<TSource> Union<TSource>(this IUniTaskAsyncEnumerable<TSource> first, IUniTaskAsyncEnumerable<TSource> second, IEqualityComparer<TSource> comparer)
Parameters
first
IUniTaskAsyncEnumerable<TSource>second
IUniTaskAsyncEnumerable<TSource>comparer
IEqualityComparer<TSource>
Returns
- IUniTaskAsyncEnumerable<TSource>
Type Parameters
TSource
Where<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, Boolean>)
public static IUniTaskAsyncEnumerable<TSource> Where<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, bool> predicate)
Parameters
source
IUniTaskAsyncEnumerable<TSource>predicate
System.Func<TSource, System.Boolean>
Returns
- IUniTaskAsyncEnumerable<TSource>
Type Parameters
TSource
Where<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, Int32, Boolean>)
public static IUniTaskAsyncEnumerable<TSource> Where<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, int, bool> predicate)
Parameters
source
IUniTaskAsyncEnumerable<TSource>predicate
System.Func<TSource, System.Int32, System.Boolean>
Returns
- IUniTaskAsyncEnumerable<TSource>
Type Parameters
TSource
WhereAwait<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, UniTask<Boolean>>)
public static IUniTaskAsyncEnumerable<TSource> WhereAwait<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, UniTask<bool>> predicate)
Parameters
source
IUniTaskAsyncEnumerable<TSource>predicate
System.Func<TSource, UniTask<System.Boolean>>
Returns
- IUniTaskAsyncEnumerable<TSource>
Type Parameters
TSource
WhereAwait<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, Int32, UniTask<Boolean>>)
public static IUniTaskAsyncEnumerable<TSource> WhereAwait<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, int, UniTask<bool>> predicate)
Parameters
source
IUniTaskAsyncEnumerable<TSource>predicate
System.Func<TSource, System.Int32, UniTask<System.Boolean>>
Returns
- IUniTaskAsyncEnumerable<TSource>
Type Parameters
TSource
WhereAwaitWithCancellation<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, CancellationToken, UniTask<Boolean>>)
public static IUniTaskAsyncEnumerable<TSource> WhereAwaitWithCancellation<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, CancellationToken, UniTask<bool>> predicate)
Parameters
source
IUniTaskAsyncEnumerable<TSource>predicate
System.Func<TSource, CancellationToken, UniTask<System.Boolean>>
Returns
- IUniTaskAsyncEnumerable<TSource>
Type Parameters
TSource
WhereAwaitWithCancellation<TSource>(IUniTaskAsyncEnumerable<TSource>, Func<TSource, Int32, CancellationToken, UniTask<Boolean>>)
public static IUniTaskAsyncEnumerable<TSource> WhereAwaitWithCancellation<TSource>(this IUniTaskAsyncEnumerable<TSource> source, Func<TSource, int, CancellationToken, UniTask<bool>> predicate)
Parameters
source
IUniTaskAsyncEnumerable<TSource>predicate
System.Func<TSource, System.Int32, CancellationToken, UniTask<System.Boolean>>
Returns
- IUniTaskAsyncEnumerable<TSource>
Type Parameters
TSource
Zip<TFirst, TSecond>(IUniTaskAsyncEnumerable<TFirst>, IUniTaskAsyncEnumerable<TSecond>)
public static IUniTaskAsyncEnumerable<(TFirst First, TSecond Second)> Zip<TFirst, TSecond>(this IUniTaskAsyncEnumerable<TFirst> first, IUniTaskAsyncEnumerable<TSecond> second)
Parameters
first
IUniTaskAsyncEnumerable<TFirst>second
IUniTaskAsyncEnumerable<TSecond>
Returns
- IUniTaskAsyncEnumerable<System.ValueTuple<TFirst, TSecond>>
Type Parameters
TFirst
TSecond
Zip<TFirst, TSecond, TResult>(IUniTaskAsyncEnumerable<TFirst>, IUniTaskAsyncEnumerable<TSecond>, Func<TFirst, TSecond, TResult>)
public static IUniTaskAsyncEnumerable<TResult> Zip<TFirst, TSecond, TResult>(this IUniTaskAsyncEnumerable<TFirst> first, IUniTaskAsyncEnumerable<TSecond> second, Func<TFirst, TSecond, TResult> resultSelector)
Parameters
first
IUniTaskAsyncEnumerable<TFirst>second
IUniTaskAsyncEnumerable<TSecond>resultSelector
System.Func<TFirst, TSecond, TResult>
Returns
- IUniTaskAsyncEnumerable<TResult>
Type Parameters
TFirst
TSecond
TResult
ZipAwait<TFirst, TSecond, TResult>(IUniTaskAsyncEnumerable<TFirst>, IUniTaskAsyncEnumerable<TSecond>, Func<TFirst, TSecond, UniTask<TResult>>)
public static IUniTaskAsyncEnumerable<TResult> ZipAwait<TFirst, TSecond, TResult>(this IUniTaskAsyncEnumerable<TFirst> first, IUniTaskAsyncEnumerable<TSecond> second, Func<TFirst, TSecond, UniTask<TResult>> selector)
Parameters
first
IUniTaskAsyncEnumerable<TFirst>second
IUniTaskAsyncEnumerable<TSecond>selector
System.Func<TFirst, TSecond, UniTask<TResult>>
Returns
- IUniTaskAsyncEnumerable<TResult>
Type Parameters
TFirst
TSecond
TResult
ZipAwaitWithCancellation<TFirst, TSecond, TResult>(IUniTaskAsyncEnumerable<TFirst>, IUniTaskAsyncEnumerable<TSecond>, Func<TFirst, TSecond, CancellationToken, UniTask<TResult>>)
public static IUniTaskAsyncEnumerable<TResult> ZipAwaitWithCancellation<TFirst, TSecond, TResult>(this IUniTaskAsyncEnumerable<TFirst> first, IUniTaskAsyncEnumerable<TSecond> second, Func<TFirst, TSecond, CancellationToken, UniTask<TResult>> selector)
Parameters
first
IUniTaskAsyncEnumerable<TFirst>second
IUniTaskAsyncEnumerable<TSecond>selector
System.Func<TFirst, TSecond, CancellationToken, UniTask<TResult>>
Returns
- IUniTaskAsyncEnumerable<TResult>
Type Parameters
TFirst
TSecond
TResult