IAsyncEnumerable

This commit is contained in:
ahmed committed 2026-02-02 22:22:47 +03:00
1 parent 3f7e3992c1
commit 7d958bfaf8
3 files changed
+32 -2

No files matched your search

+1 -1
View File
@@ -143,7 +143,7 @@ public class FunctionTemplate : MemberTemplate
{
rtType = TRU.FromType(mi.ReturnType.GetGenericArguments()[0]);
}
else if (genericRtType == typeof(IEnumerable<>))// || genericRtType == typeof(IAsyncEnumerable<>))
else if (genericRtType == typeof(IEnumerable<>) || genericRtType == typeof(IAsyncEnumerable<>))
{
// get export
rtType = TRU.FromType(mi.ReturnType.GetGenericArguments()[0]);