(
// `axisStatKey` is used to quickly omit irrelevant handlers,
// since handlers need to be iterated per axis.
axisStatKey: AxisStatKey,
handler: AxisContainShapeHandler,
)
| 667 | * And it is implemented in different code and not merged to this implementation yet. |
| 668 | */ |
| 669 | export function registerAxisContainShapeHandler( |
| 670 | // `axisStatKey` is used to quickly omit irrelevant handlers, |
| 671 | // since handlers need to be iterated per axis. |
| 672 | axisStatKey: AxisStatKey, |
| 673 | handler: AxisContainShapeHandler, |
| 674 | ) { |
| 675 | if (__DEV__) { |
| 676 | assert(!axisContainShapeHandlerMap.get(axisStatKey)); |
| 677 | } |
| 678 | axisContainShapeHandlerMap.set(axisStatKey, handler); |
| 679 | } |
| 680 | |
| 681 | const axisContainShapeHandlerMap: HashMap<AxisContainShapeHandler, AxisStatKey> = createHashMap(); |
| 682 |
no test coverage detected