Skip to content

EventBus.Publish(T) Method

Definition

Namespace: Brine2D.Events

Publishes an event to all current subscribers of type T. Exceptions thrown by individual handlers are caught and logged; remaining handlers still execute. Allocation-free on the hot path.

public void Publish<T>(T eventData)
    where T : class;

Type parameters

T

Parameters

eventData T

Implements Publish<T>(T)