OptionalnameOptionalthresholdsOptionallogger() => Logger - How to log potential memory leaks, if thresholds are < Infinity. When omitted, a built-in console adapter is used.
Optionalverbose[false] - should memory leak warnings be output on every listener added above the thresholds, or only at intervals
Optionalcoalesce[true] - when true, coalesce will/did add/remove hooks to one
emission per event key during pipe() / unpipe() reconcile of a heavily-subscribed downstream bus
Optionalduplicatehow duplicate listenable+handler registrations behave
Optionalon['ignore'] — what to do when an event is emitted with no listeners:
'ignore' (default no-op), 'throw', or a custom (event, payload) => void callback
Optionalon[false] - what to do when a monitoring or subscription method is called
after destroy(): false runs it as usual; a LogLevel logs
StrongbusLogCode.UseAfterDestroy, then skips it and returns an inert stub;
'throw' throws instead. When set to any of these, emit and destroy become silent no-ops.
Introspection is never affected. Calls made while destroy() is still running are skipped and
logged at debug under every setting, including false.
"Anonymous"- A name for the bus. Included in warn/info/error potential memory leak messages and unhandled event errors thrown