Home > @xoram/core > EventCleanup
EventCleanup type
An idempotent cleanup function returned by onEvent
. It allows you to remove any listener setup by the onEvent
call before the plugin's teardown phase.
Signature:
typescript
export type EventCleanup = () => void;
1