Interface IWorkManager
Interface for Worker Process Management.
Namespace: Cireson.Core.Interfaces.Services.WorkerProcessing
Assembly: Cireson.Core.Interfaces.dll
Syntax
public interface IWorkManager
Remarks
Admin, 8/24/2017.
Methods
View SourceGetProcessesAsync()
Retrieves a list of the current Process Workers along with their running state.
Declaration
Task<IList<ProcessWorkerInfo>> GetProcessesAsync()
Returns
Type | Description |
---|---|
Task<IList<ProcessWorkerInfo>> | An asynchronous result that yields the processes. |
StartAsync()
StartAsync manager and all workers.
Declaration
Task StartAsync()
Returns
Type | Description |
---|---|
Task | An asynchronous result. |
StopAsync()
StopAsync manager and all workers.
Declaration
Task StopAsync()
Returns
Type | Description |
---|---|
Task | An asynchronous result. |