Skip to content

IEventBus.Unsubscribe(Action) Method

Definition

Namespace: Brine2D.Events

Manually unsubscribes a handler. Prefer disposing the token returned by Subscribe<T>(Action<T>) — it calls this method and is idempotent.

void Unsubscribe<T>(System.Action<T> handler)
    where T : class;

Type parameters

T

Parameters

handler System.Action<T>