@ue-too/board / Callback
Type Alias: Callback()<K>
Callback<
K> = (event,cameraState) =>void
Defined in: packages/board/src/camera/update-publisher.ts:131
Generic callback function type for camera events.
Type Parameters
K
K extends keyof CameraEventMap
The event type key from CameraEventMap
Parameters
event
The event payload specific to this event type
cameraState
Current camera state snapshot at the time of the event
Returns
void