passThrough method

void passThrough()

Hands a resource request back to the library to load as usual.

A failed call fails the request with ResourceErrorReason.other, as ResourceRequestHandle.release() does.

See mln_resource_request_pass_through in the C API reference.

Errors:

  • Status.invalidState when the library cancelled the request.

Implementation

void passThrough() => _state.answer(
  (handle) =>
      raw.mln_resource_request_pass_through(handle.raw, nativeDiagnostic),
);