DavidArno / SuccincT

Discriminated unions, pattern matching and partial applications for C#
MIT License
266 stars 15 forks source link

Is this framework async? #14

Closed leenux closed 7 years ago

leenux commented 7 years ago

I can't find the framework async oper.

DavidArno commented 7 years ago

There currently aren't any async features within the library as I've not yet identified any need for them.

What particular features do you feel would benefit from async support?

leenux commented 7 years ago

Yes,I think so. There are many systems that are constructed in an asynchronous fashion. The asynchronous system expects all components to be asynchronous to achieve a non blocking purpose.

DavidArno commented 7 years ago

I'm still unsure what you are asking for. As none of Succinc<T>'s APIs are blocking in nature, adding async to those APIs would just make them slower. "The asynchronous system expects all components to be asynchronous to achieve a non blocking purpose" doesn't sound right to me. You only want routes through to blocking components to be async-based.

What specifically is it that you wish to do with Succinc<T>? How would that use relate to async functionality? I need a bit more info please in order to understand what - if any - changes could be made to better support async.

DavidArno commented 7 years ago

Closing this as it's unclear what's needed.

@leenux, If you get a chance to clarify what you are asking for, I'll reopen it.

DavidArno commented 7 years ago

Re-opening this issue.

There is benefit in me exploring supporting async lambdas/methods in pattern matching, Ignore and the like.

DavidArno commented 7 years ago

Have concluded (likely through ignorance) that explicit async support isn't needed and that Succinc\<T> works with async.