iTwin / itwinjs-core

Monorepo for iTwin.js Library
https://www.itwinjs.org
MIT License
615 stars 210 forks source link

Feature request: Callback for event listener error #46

Closed mohsini172 closed 4 years ago

mohsini172 commented 5 years ago

I have a listener service for imodelhub event and creating listener would a great method to use. But the issue is that when something went wrong the listener stops and there's no feedback if the listener is stopped. It would be great if we can provide a callback for error like for do for processGlobalEvent.


⚠ Do not edit this section. It is required for imodeljs.github.io ➟ GitHub issue linking

eligijusm commented 5 years ago

As documentation indicates GlobalEvents are reserved for internal use in Bentley and will not work for 3rd party applications. I suggest looking at regular iModel events. Let us know if you have same problems with regular events or they don't provide functionality you need.