getPriority
function getPriority(controllerType: string)
Retrieves the priority for a given controller type.
Defaults to DEFAULT_PRIORITY
if the type is not defined in PRIORITY_MAP
.
Returns: number
-
- The priority value associated with the controller type.
PARAMETER | TYPE | OPTIONAL | DEFAULT | DESCRIPTION |
---|---|---|---|---|
controllerType | string | The type of the controller (e.g., 'webaudio-knob'). |