MBrace.Core


Local

Namespace: MBrace.Core.Internals

Internal local workflow combinators

Static members

Static memberDescription
FromContinuations(body)
Signature: (body:(ExecutionContext -> Continuation<'T> -> unit)) -> LocalCloud<'T>
Type parameters: 'T

Creates a cloud workflow that captures the current execution context.

WithAppendedStackTrace(...)
Signature: functionName:string -> workflow:LocalCloud<'T> -> LocalCloud<'T>
Type parameters: 'T

Appends a function information entry to the symbolic stacktrace in the exception continuation.

WithMappedContinuation(mapper workflow)
Signature: (mapper:(Continuation<'T> -> Continuation<'S>)) -> workflow:LocalCloud<'S> -> LocalCloud<'T>
Type parameters: 'T, 'S

Wraps a workflow with a mapped continuation.

WithNestedContext(...)
Signature: (workflow:LocalCloud<'T> * update:(ExecutionContext -> ExecutionContext) * revert:(ExecutionContext -> ExecutionContext)) -> LocalCloud<'T>
Type parameters: 'T

Runs provided workflow in a nested execution context that is introduced using the update/revert functions. These must be serializable and exception safe.

WithNestedResource(...)
Signature: (workflow:Cloud<'T> * update:('TResource -> 'TResource) * revert:('TResource -> 'TResource)) -> LocalCloud<'T>
Type parameters: 'T, 'TResource

Runs provided workflow in a nested execution context that is introduced using the update/revert functions. These must be serializable and exception safe.

Fork me on GitHub