MBrace.Runtime


ICloudProcessEntry

Namespace: MBrace.Runtime

Cloud process completion source abstraction

Instance members

Instance memberDescription
AwaitResult()
Signature: unit -> Async<CloudProcessResult>
Modifiers: abstract

Asynchronously awaits for the cloud process result.

DeclareStatus(status)
Signature: status:CloudProcessStatus -> Async<unit>
Modifiers: abstract

Declares cloud process execution status.

GetState()
Signature: unit -> Async<CloudProcessState>
Modifiers: abstract

Asynchronously fetches current cloud process state

Id
Signature: string
Modifiers: abstract

Unique Cloud Task identifier

CompiledName: get_Id

IncrementCompletedWorkItemCount()
Signature: unit -> Async<unit>
Modifiers: abstract

Decrements work item count for provided cloud process.

IncrementFaultedWorkItemCount()
Signature: unit -> Async<unit>
Modifiers: abstract

Asynchronously increments the faulted work item count for cloud process.

IncrementWorkItemCount()
Signature: unit -> Async<unit>
Modifiers: abstract

Increments work item count for provided cloud process.

Info
Signature: CloudProcessInfo
Modifiers: abstract

Gets cloud process metadata

CompiledName: get_Info

TryGetResult()
Signature: unit -> Async<CloudProcessResult option>
Modifiers: abstract

Asynchronously checks if cloud process result has been set. Returns None if result has not been set.

TrySetResult(result, workerId)
Signature: (result:CloudProcessResult * workerId:IWorkerId) -> Async<bool>
Modifiers: abstract

Asynchronously attempts to set cloud process result for entry. Returns true if setting was successful.

WaitAsync()
Signature: unit -> Async<unit>
Modifiers: abstract

Asynchronously awaits until cloud process has completed

Fork me on GitHub