@wildix/xbees-connect > ConnectClient > addEventListener
ConnectClient.addEventListener property
Starts listen for one of the events of the x-bees and handle with the provided callback
Signature:
addEventListener: <T extends EventType = EventType>(eventName: T, callback: Callback<T>) => RemoveEventListener;