Table of Contents

Interface IBackgroundTaskManager

Namespace
JJMasterData.Commons.Tasks
Assembly
JJMasterData.Commons.dll
public interface IBackgroundTaskManager

Methods

Abort(string)

void Abort(string key)

Parameters

key string

GetProgress<T>(string)

T GetProgress<T>(string key) where T : IProgressReporter

Parameters

key string

Returns

T

Type Parameters

T

IsRunning(string)

bool IsRunning(string key)

Parameters

key string

Returns

bool

Run(string, IBackgroundTaskWorker)

void Run(string key, IBackgroundTaskWorker worker)

Parameters

key string
worker IBackgroundTaskWorker