Lead Product Evangelist @Kentico, Founding partner @craftbrewingbiz. love to learn / teach web dev & software engineering, collecting vinyl records, mowing my lawn, craft 🍺
For F# scripts it doesn't, if you omit them the script will exit before the execution finishes I could have used Task.Wait() as well but I went with what I have been using in previous posts.
In contexts where you are running inside a function that returns a task or async these are not necessary
i. e. An aspnet handler or an async func
Lead Product Evangelist @Kentico, Founding partner @craftbrewingbiz. love to learn / teach web dev & software engineering, collecting vinyl records, mowing my lawn, craft 🍺
Yeah, they are in a much better state now, start times are a bit slow but they can be great in some contexts like sharing, teaching, showcasing, or prototyping, even automation I believe
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Does the following change with the new F# 6
Task
features?For F# scripts it doesn't, if you omit them the script will exit before the execution finishes I could have used
Task.Wait()
as well but I went with what I have been using in previous posts.In contexts where you are running inside a function that returns a task or async these are not necessary
i. e. An aspnet handler or an async func
Interesting. I haven't used scripts much in the past because the NuGet support wasn't great, but I like that they are easier to use now.
Yeah, they are in a much better state now, start times are a bit slow but they can be great in some contexts like sharing, teaching, showcasing, or prototyping, even automation I believe