Skip to content

Potential issue with synchronous invokation #306

Closed

Description

I haven't reproduced it yet, so it's rather not to forget to test it.

Take this C# code:

await Microsoft.FSharp.Control.FSharpAsync.StartAsTask(GenericChart.fromFigure(fig).ToBase64PNGStringAsync())l

There's a suspection that it either deadlocks or some other issues on borders between F#'s async and C#'s tasks.

Edit:

Chart.Line([1., 1.; 2., 3.; 3., 3])
|> Chart.toBase64PNGStringAsync()
|> Async.RunSynchronously
|> printf "%s"

never terminates

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions