MCPcopy
hub / github.com/hapijs/hapi / emit

Method emit

lib/types/server/events.d.ts:121–121  ·  view source on GitHub ↗
(criteria: K, listener: (value: T) => void)

Source from the content-addressed store, hash-verified

119
120export interface PodiumEvent<K extends string, T> {
121 emit(criteria: K, listener: (value: T) => void): void;
122
123 on(criteria: K, listener: (value: T) => void): void;
124

Callers 15

transmit.jsFile · 0.80
_startMethod · 0.80
_stopMethod · 0.80
_unlistenMethod · 0.80
_cachePolicyMethod · 0.80
_logMethod · 0.80
_finalizeMethod · 0.80
_logMethod · 0.80
request.jsFile · 0.80
constructorMethod · 0.80
_transformMethod · 0.80
_addRouteMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected