public AsyncQueueConsumer(IAsyncFiber target, Func <TMsg, Task> callback, QueueChannelRR <TMsg> eventChannel) { _target = target; _callback = callback; _eventChannel = eventChannel; }
public QueueConsumer(IFiber target, Action <TMsg> callback, QueueChannelRR <TMsg> eventChannel) { _target = target; _callback = callback; _eventChannel = eventChannel; }