Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Creates a dispatcher with bounded pending work and a finite per-flush budget.

API: engine
Project: Inno.Core.Events

public Inno.Core.Events.EventDispatcher.EventDispatcher(int queueCapacity = 65536, int flushBudget = 4096)

Parameter queueCapacity: Maximum pending events; producers must handle explicit rejection.

Parameter flushBudget: Maximum events dispatched by one flush, excluding events enqueued during that flush.

Exception T:System.ArgumentOutOfRangeException: A budget is not positive.