Support asynchronous schema loading in SchemaJsonLocater
#6714
Labels
ecschema
Issues related to the various ecschema packages
SchemaJsonLocater
#6714
Is your feature request related to a problem? Please describe.
At the moment
SchemaJsonLocater
loads requested schema synchronously, which causes the main thread to block when loaded schema is large or has many referenced schemas. Example:Describe the solution you'd like
I'd like
SchemaJsonLocater.getSchema
to have an asynchronous implementation instead of relying on a synchronous one.Describe alternatives you've considered
As a workaround, I extended
SchemaJsonLocater
and provided my own asynchronous implementation forgetSchema
.The text was updated successfully, but these errors were encountered: