You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, templates must be coded against an exact type like Task or ValueTask . We cannot use an IAwaitable interface because of the C# language design.
The idea is to introduce some template engine magic type AnyAwaitable and AnyAwaiter that would match well any awaitable or waiter in a template.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Currently, templates must be coded against an exact type like
TaskorValueTask. We cannot use anIAwaitableinterface because of the C# language design.The idea is to introduce some template engine magic type
AnyAwaitableandAnyAwaiterthat would match well any awaitable or waiter in a template.Beta Was this translation helpful? Give feedback.
All reactions