MCPcopy Index your code
hub / github.com/resend/react-email / prefixEventName

Method prefixEventName

packages/editor/src/core/event-bus.ts:40–42  ·  view source on GitHub ↗
(eventName: EditorEventName)

Source from the content-addressed store, hash-verified

38
39class EditorEventBus {
40 private prefixEventName(eventName: EditorEventName): string {
41 return `${EVENT_PREFIX}${String(eventName)}`;
42 }
43
44 dispatch<T extends EditorEventName>(
45 eventName: T,

Callers 2

dispatchMethod · 0.95
onMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected