# useMultiEventSubscriber

event handler for multiple events either can pass a simple configuration with array of event names and a shared callback of a pull config with different callback for each event.

## Installation

```tsx
import { useMultiEventSubscriber } from 'uxp/components';
```

## Signature

```tsx
function useMultiEventSubscriber(instanceId: string, config: MultiEventSubscriberConfig): void
```

## Related Types

* [MultiEventSubscriberConfig](https://help.iviva.com/uxp/v5/additional-resources/types/multieventsubscriberconfig)
* [SimpleEventConfig](https://help.iviva.com/uxp/v5/additional-resources/types/simpleeventconfig)
* [FullEventconfig](https://help.iviva.com/uxp/v5/additional-resources/types/fulleventconfig)
* [EventConfig](https://help.iviva.com/uxp/v5/additional-resources/types/eventconfig)
