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

Clears all registered command handlers.

INTERNAL: not part of the ICommandBus interface.

Return Type

void

Usage

import { CommandBus } from "cqrs-plugin/src/index.ts";