method InMemoryEventBus.prototype.clear
InMemoryEventBus.prototype.clear(): void

Removes all subscriptions.

Internal method for lifecycle cleanup (NOT on IEventBus).

Return Type

void

Usage

import { InMemoryEventBus } from "events-plugin/src/index.ts";