MCPcopy Create free account
hub / github.com/OpenSpace/OpenSpace / waitForAssetState

Function waitForAssetState

support/assetvalidation/assetvalidation.py:171–190  ·  view source on GitHub ↗

Loop on AssetLoading events until the given asset path reaches the expected state. Returns the final state received. Exits early and logs an error on 'Error' state.

(eventTopic, path: str, expectedState: str)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

internalRunFunction · 0.85

Calls 3

_relPathFunction · 0.85
getMethod · 0.80
logFunction · 0.70

Tested by

no test coverage detected