Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
41 lines (39 loc) · 1.53 KB

File metadata and controls

41 lines (39 loc) · 1.53 KB
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
using System;
using System.Collections.Generic;
using OptimaJet.Workflow.Core.Runtime;
namespace OptimaJet.Workflow.Core.Bus
{
/// <summary>
/// Interface of a bus, which provide control over execution of activities and actions
/// </summary>
public interface IWorkflowBus
{
/// <summary>
/// Initialize the bus
/// </summary>
/// <param name="runtime">WorkflowRuntime instance which owned the bus</param>
void Initialize(WorkflowRuntime runtime);
/// <summary>
/// Starts the bus
/// </summary>
void Start();
/// <summary>
/// Queue execution with the list of <see cref="ExecutionRequestParameters"/>
/// </summary>
/// <param name="requestParameters">List of <see cref="ExecutionRequestParameters"/></param>
void QueueExecution(IEnumerable<ExecutionRequestParameters> requestParameters);
/// <summary>
/// Queue execution with the <see cref="ExecutionRequestParameters"/>
/// </summary>
/// <param name="requestParameters">Instance of <see cref="ExecutionRequestParameters"/></param>
void QueueExecution(ExecutionRequestParameters requestParameters);
/// <summary>
/// Event raised after the execution was complete
/// </summary>
event EventHandler<ExecutionResponseEventArgs> ExecutionComplete;
/// <summary>
/// Returns true if the bus supports asynchronous model of execution
/// </summary>
bool IsAsync { get; }
}
}
Morty Proxy This is a proxified and sanitized view of the page, visit original site.