Function script::dom::bindings::import::module::jsapi::ReadableStreamReleaseExternalUnderlyingSource
source ยท pub unsafe extern "C" fn ReadableStreamReleaseExternalUnderlyingSource(
cx: *mut JSContext,
stream: Handle<*mut JSObject>,
) -> bool
Expand description
Releases the embedding-provided underlying source of the given |stream|, returning the stream into an unlocked state.
Asserts that the stream was locked through ReadableStreamGetExternalUnderlyingSource.
Asserts that |stream| is a ReadableStream object or an unwrappable wrapper for one.
Asserts that the stream has an embedding-provided underlying source.