Skip to content
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

F# 6.0 asynchronous enhancements. #14

Open
kekyo opened this issue Nov 17, 2021 · 1 comment
Open

F# 6.0 asynchronous enhancements. #14

kekyo opened this issue Nov 17, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@kekyo
Copy link
Owner

kekyo commented Nov 17, 2021

F# 6.0 is included with both Task-based computation expression and resumable infrastructure. It makes better performance and easy interoperable a lot of OSS based library/packages.

https://github.com/fsharp/fslang-design/blob/main/FSharp-6.0/FS-1087-resumable-code.md

Epoxy supports F#'s async computation expression directly. Today we need to switch resumable infrastructure.

Need to more research:

  • It will makes breaking change for received Async<'T> methods/functions. Epoxy will expose replaced by Task<'T> or ResumableCode<'T> (?)
  • Fit to ValueTask<'T> same as standard implementation (Epoxy.Wpf like) when vtask CE is ready.
  • Or another approach.
@kekyo kekyo added the enhancement New feature or request label Nov 17, 2021
@kekyo
Copy link
Owner Author

kekyo commented Apr 8, 2022

Since the vtask asynchronous workflow was introduced in F# 6.0, Epoxy's policy will be to match everything with ValueTask.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant