You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: Samples/src/Orleans.Activities.Samples.Arithmetical.GrainInterfaces/Orleans.Activities.Samples.Arithmetical.GrainInterfaces.csproj
// WorkflowGrain<TGrain, TGrainState> base type with the default WorkflowState as TGrainState. But this is optional, the full blown
18
18
// WorkflowGrain<TGrain, TGrainState, TWorkflowInterface, TWorkflowCallbackInterface> base type can be used also if there are outgoing calls or incoming callbacks.
// it is propagated back to the caller. If the workflow persist itself but due to a failure it aborts later and propagates the exception back to the caller,
41
41
// it will be reloaded when the caller repeats the request or by a reactivation reminder. If the caller repeats the call only after the workflow is reloaded and completed,
42
42
// this not a problem, it will get the same output arguments or OperationCanceledException or the exception that caused the workflow to terminate.
// WorkflowGrain<TGrain, TGrainState> base type with the default WorkflowState as TGrainState. But this is optional, the full blown
18
18
// WorkflowGrain<TGrain, TGrainState, TWorkflowInterface, TWorkflowCallbackInterface> base type can be used also if there are outgoing calls or incoming callbacks.
// Don't use callbacks on Completed event when there is no implicit or explicit persistence before, because the incoming request that started the workflow will run
35
35
// the workflow to the first idle moment, if the first idle is the completion, the callback will happen during the incoming request (usually also a problem),
36
36
// and the exception during the callback will be propagated back to the caller and the caller has to repeat the incoming request to restart the workflow.
// MultiplierGrain only executes the workflow until it gets idle, from that moment the workflow executes in the "background" and calls the Completed event when it completes.
Copy file name to clipboardexpand all lines: Samples/src/Orleans.Activities.Samples.HelloWorld.GrainInterfaces/Orleans.Activities.Samples.HelloWorld.GrainInterfaces.csproj
<oa:SendResponsex:TypeArguments="x:String" sap2010:WorkflowViewState.IdRef="SendResponse`1_4"Idempotent="True"ResponseParameter="Bye, my friend!"ThrowIfReloaded="False" />
0 commit comments