FSharpx.Async


ConcurrentSetAgent<'T>

Namespace: FSharpx.Control

Agent that implements a simple concurrent set. The agent exposes a member that adds value to the set and returns whether the value was already present.

Constructors

ConstructorDescription
new()
Signature: unit -> ConcurrentSetAgent<'T>

CompiledName: .ctor

Instance members

Instance memberDescription
AsyncAdd(v)
Signature: v:obj -> Async<bool>

Adds the specified element to the set and returns 'false' when it was already present in the set

Fork me on GitHub