Translate This Page
Translate this page
Browse by Tags
Tagged Content List
Using F# agents and cancellation tokens to manage background jobs
In a previous post , I created an F# agent that runs background computations. However, it was limited in that it allowed the user no control over the jobs. Really, I want a more flexible system that allows the user to cancel currently running jobs. To implement this, I used F# agents (the MailboxProcessor...
14 Jan 2011
Using F# agents to manage background jobs
In a previous post , I started out with some simple F# agents. As we saw previously, agents process messages in a queue and perform actions in response. In the previous post, I created a simple console application that starts an agent, and then starts a loop that reads each line of input from the console...
12 Jan 2011
F# agents with timeouts
In my previous post , I showed a code snippet with a very simple F# agent console application. You run the app from the console, and every time you enter a line of text, it generates a new message and posts it to the message queue of an F# agent. An agent is an instance of the MailboxProcessor class...
10 Jan 2011
Welcome to Gordon Hogenson's F# Blog
I'm the technical writer who wrote most of the MSDN documentation for F#, and I decided to start a less formal channel of communication to share some of what I'm learning about F# and associated technologies. But first a few notes about how to let me know about problems and other feedback for the...
6 Jan 2011
Page 1 of 1 (4 items)
© 2014 Microsoft Corporation.
Privacy & Cookies