Skip to content
v0.18 のドキュメントを表示しています。最新バージョンは v0.20 です。 最新のドキュメントへ

@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