F# Parallel Extras: Agent-based blocking queue (tomasp.net)
submitted by
tomasp(299) 1 year, 6 months ago
We implement an asynchronous blocking queue using F# agents. The queue is similar to BlockingCollection in .NET 4.0, but blocks asynchronously (using F# workflows), which is more scalable. The type can be used, for example, when implementing the pipeline pattern as demonstrated in previous article.
|category: F#
|Views: 8
tags:
F# another
Everyones tags:
Your Tags: