Skip to content

@ue-too/board / index / Callback

型別別名: Callback()<K>

Callback<K> = (event, cameraState) => void

定義於: packages/board/src/camera/update-publisher.ts:131

Generic callback function type for camera events.

型別參數

K

K extends keyof CameraEventMap

The event type key from CameraEventMap

參數

event

CameraEventMap[K]

The event payload specific to this event type

cameraState

CameraState

Current camera state snapshot at the time of the event

回傳

void