MBrace.Core


ICloudProcess

Namespace: MBrace.Core

Denotes a cloud process that is being executed in the cluster.

Instance members

Instance memberDescription
AwaitResultBoxedAsync(...)
Signature: (timeoutMilliseconds:int option) -> Async<obj>
Modifiers: abstract

Awaits cloud process for completion, returning its eventual result.

CancellationToken
Signature: ICloudCancellationToken
Modifiers: abstract

Gets the cancellation corresponding to the Task instance

CompiledName: get_CancellationToken

Id
Signature: string
Modifiers: abstract

Unique cloud process identifier

CompiledName: get_Id

IsCanceled
Signature: bool
Modifiers: abstract

Gets a boolean indicating that the cloud process has been canceled.

CompiledName: get_IsCanceled

IsCompleted
Signature: bool
Modifiers: abstract

Gets a boolean indicating that the cloud process has completed successfully.

CompiledName: get_IsCompleted

IsFaulted
Signature: bool
Modifiers: abstract

Gets a boolean indicating that the cloud process has completed with fault.

CompiledName: get_IsFaulted

ResultBoxed
Signature: obj
Modifiers: abstract

Synchronously gets the cloud process result, blocking until it completes.

CompiledName: get_ResultBoxed

Status
Signature: CloudProcessStatus
Modifiers: abstract

Gets a TaskStatus enumeration indicating the current cloud process state.

CompiledName: get_Status

TryGetResultBoxedAsync()
Signature: unit -> Async<obj option>
Modifiers: abstract

Returns the cloud process result if completed or None if still pending.

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

Asynchronously waits for the cloud process to complete.

Fork me on GitHub