Calls release(), for await using.
Hosts without Symbol.asyncDispose, such as ArkTS, leave it undefined.
Calls release(), for using.
Hosts without Symbol.dispose, such as ArkTS, leave it undefined.
ReadonlyidThe native handle value. It stays readable after release.
Whether a release, dispose, or discard has ended the handle.
Answers a resource transform request with the URL to load instead.
url must not be empty. A failed answer fails the request with
ResourceErrorReason.other, as ResourceTransformRequestHandle.release()
does.
See mln_resource_transform_request_complete in the
C API reference.
Fails a resource transform request without sending it.
The library retries a request that failed for a reason it retries, such as
ResourceErrorReason.connection, and the retry calls the transform again.
When this call fails, the request fails with ResourceErrorReason.other,
as ResourceTransformRequestHandle.release() does.
See mln_resource_transform_request_fail in the
C API reference.
Releases a resource transform request.
Releasing a request without an answer fails it with
ResourceErrorReason.other.
See mln_resource_transform_request_release in the
C API reference.
Names the owner's type, its handle ID, and whether it is closed.
A URL rewrite that a resource transform answers with the URL to load.
See
mln_resource_transform_requestin the C API reference.