resourceRefToPromise

U

Converts a resource reference into a promise that resolves when loading completes, or rejects if the resource errors.

This is useful when you need to compose resource loading with promise-based workflows.

Delayed Fake Resource