/
GeekNerd
/
ServerModelingProject
Обзор
Документация
Войти
/
GeekNerd
/
ServerModelingProject
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
Assets/Plugins/UniTask/Runtime/EnumerableAsyncExtensions.cs
32 строки
1 KB
Gorney-Alex
Init
30 май 2026, 19:05
30 май 2026, 19:05
3cdcc49
Код
Авторство
О чём код?
#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member using System; using System.Collections.Generic; namespace Cysharp.Threading.Tasks { public static class EnumerableAsyncExtensions { // overload resolver - .Select(async x => { }) : IEnumerable<UniTask<T>> public static IEnumerable<UniTask> Select<T>(this IEnumerable<T> source, Func<T, UniTask> selector) { return System.Linq.Enumerable.Select(source, selector); } public static IEnumerable<UniTask<TR>> Select<T, TR>(this IEnumerable<T> source, Func<T, UniTask<TR>> selector) { return System.Linq.Enumerable.Select(source, selector); } public static IEnumerable<UniTask> Select<T>(this IEnumerable<T> source, Func<T, int, UniTask> selector) { return System.Linq.Enumerable.Select(source, selector); } public static IEnumerable<UniTask<TR>> Select<T, TR>(this IEnumerable<T> source, Func<T, int, UniTask<TR>> selector) { return System.Linq.Enumerable.Select(source, selector); } } }