FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Rewriting Async API in ImageExport by WhiteBlackGoose · Pull Request #321 · plotly/Plotly.NET · GitHub

Rewriting Async API in ImageExport - #321

Merged
kMutagene merged 2 commits into
plotly:devfrom
WhiteBlackGoose:async-fix
Jul 11, 2022
Merged

Rewriting Async API in ImageExport#321
kMutagene merged 2 commits into
plotly:devfrom
WhiteBlackGoose:async-fix

Conversation

WhiteBlackGoose commented Jul 9, 2022
edited
Loading

Copy link
Copy Markdown
Contributor

Short explanation on the workaround.

Plus moved Async API to Task and Task<T> instead of F#'s Async, which makes it more convenient for C# users, and doesn't make it less convenient for F# users (aka pareto improvement 😆 )

Closes #320
Closes #306

WhiteBlackGoose marked this pull request as ready for review July 9, 2022 05:58
testBase64PNG
"Invalid base64 string for Chart.toBase64PNGStringAsync"
}
testCase "Chart.toBase64JPGString" <| fun () ->

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

This is a great idea, as we can at least test if the render engine finishes this way. could you add this for the other image formats as well? maybe rename the tests to Chart.toBase64PNGStringAsync terminates etc

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Suggestion] Move the ImageExport's Async API to Task Potential issue with synchronous invokation

2 participants


Back | FazBrowse Home | New Git URL