Home > @activeviam/activeui-sdk > MdxQuery > waitUntilLoaded
MdxQuery.waitUntilLoaded property
Wait for a query to finish loading, and resolve with its status as a LoadingState. If there is an error during the query execution, the promise is rejected with that error. If the query is not pending, resolve with its current status.
Signature:
waitUntilLoaded: () => Promise<LoadingState>;