MBrace local cluster simulator


ImmutableQueue<'T>

Namespace: MBrace.Thespian.Runtime

Instance members

Instance memberDescription
Count
Signature: int

Gets the current element count of the queue

CompiledName: get_Count

Enqueue(t)
Signature: t:'T -> ImmutableQueue<'T>

Creates a new queue with element appended to the original

EnqueueMultiple(ts)
Signature: (ts:'T list) -> ImmutableQueue<'T>

Creates a new queue with multiple elements appended

IsEmpty
Signature: bool

Returns true if queue is empty

CompiledName: get_IsEmpty

ToSeq()
Signature: unit -> seq<'T>

Returns an enumeration of the queue elements

TryDequeue()
Signature: unit -> ('T * ImmutableQueue<'T>) option

Attempt to dequeue, returning None if empty.

Static members

Static memberDescription
Empty
Signature: ImmutableQueue<'T>

Gets an empty queue

CompiledName: get_Empty

Fork me on GitHub