iTwin / presentation

Monorepo for iTwin.js Presentation Library
https://www.itwinjs.org/presentation/
MIT License
5 stars 0 forks source link

`hierarchies`: Look into exposing `rxjs` types in `FilteringHierarchyDefinition` #784

Open grigasp opened 1 week ago

grigasp commented 1 week ago

At the moment FilteringHierarchyDefinition implements HierarchyDefinition, which is a public type and, because of that, we don't want it to expose rxjs types. As a result, FilteringHierarchyDefinition has to convert all rxjs stuff to promises, which make it less efficient.

Maybe we could do this:

Need to see if that helps performance / code cleanliness / something else.