public ActorContext(IEventStoreConnection connection, string queue, int workers = 1) { _connection = connection; _queue = queue; _deadQueue = queue + "-dead"; _workers = new ActorWorker[workers]; for (int i = 0; i < workers; i++) _workers[i] = new ActorWorker(Dead); }
public ActorContext(IEventStoreConnection connection, string queue, int workers = 1) { _connection = connection; _queue = queue; _deadQueue = queue + "-dead"; _workers = new ActorWorker[workers]; for (int i = 0; i < workers; i++) { _workers[i] = new ActorWorker(Dead); } }