internal void OnNewOrder(Order order, bool queued = true) { var e = new OnNewOrder(order); if (queued) { this.queue.Enqueue(e); } else { OnEvent(e); } }
internal void OnNewOrder(Order order, bool queued = true) { var e = new OnNewOrder(order); if (queued) this.queue.Enqueue(e); else OnEvent(e); }