visualization-tools

Home > @visualization-tools/core > EventService > getCategory

EventService.getCategory() method

Signature:

getCategory<TKey extends string, TArgs extends unknown[]>(category: IEventCategoryCtor<TKey, TArgs>): IBroadcastEvent<TKey, TArgs>;

Parameters

Parameter Type Description
category IEventCategoryCtor<TKey, TArgs>  

Returns:

IBroadcastEvent<TKey, TArgs>