C# Class Lanymy.Common.Instruments.WorkTaskQueue

Inheritance: IDisposable
Show file Open project: lanymy/Lanymy.NET

Public Methods

Method Description
WorkTaskQueue ( Action workAction, int workTaskTotalCount = 1, int taskSleepMilliseconds = 3*1000, int channelCapacityCount, BoundedChannelFullMode channelFullMode = BoundedChannelFullMode.Wait ) : System

Private Methods

Method Description
WorkTaskQueue ( Channel channel, Action workAction, int workTaskTotalCount, int taskSleepMilliseconds, int channelCapacityCount, BoundedChannelFullMode channelFullMode ) : System

Method Details

WorkTaskQueue() public method

public WorkTaskQueue ( Action workAction, int workTaskTotalCount = 1, int taskSleepMilliseconds = 3*1000, int channelCapacityCount, BoundedChannelFullMode channelFullMode = BoundedChannelFullMode.Wait ) : System
workAction Action
workTaskTotalCount int
taskSleepMilliseconds int
channelCapacityCount int
channelFullMode BoundedChannelFullMode
return System