-
Notifications
You must be signed in to change notification settings - Fork 199
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support Task CE natively #761
Comments
I could imagine a type like this working well: [<Struct>]
type Response<'t> =
| Value of value : 't
| Sync of sync : (unit -> 't)
| Async of async : Async<'t>
| ColdTask of coldTask : (unit -> Task<'t>)
| CancellableTask of cancellableTask : (CancellationToken -> Task<'t>) It would be a breaking change though |
Agreed I think is about time to bring Task to Suave. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
maybe also providing support for Task or IcedTask instead of Async could improve suave performance quite a bit over the original async.
since latest F# we have native task CE support, and now also this was recently published/developed..
https://github.com/TheAngryByrd/IcedTasks
The text was updated successfully, but these errors were encountered: