Skip to main content

Type Alias: EventDispatchCallback()<T>

EventDispatchCallback<T> = (event) => void

Callback function for Mimeeq event dispatch.

This type defines the signature for event handler functions that process events dispatched from the configurator. Event handlers receive a payload object containing all relevant information about the event that occurred.

Type Parameters

T

T = any

Type of event payload data (defaults to any)

Parameters

event

T

The event payload containing event-specific data

Returns

void