Function mozjs::jsapi::JS::InitConsumeStreamCallback

source ยท
pub unsafe extern "C" fn InitConsumeStreamCallback(
    cx: *mut JSContext,
    consume: Option<unsafe extern "C" fn(_: *mut JSContext, _: Handle<*mut JSObject>, _: MimeType, _: *mut StreamConsumer) -> bool>,
    report: Option<unsafe extern "C" fn(_: *mut JSContext, _: usize)>,
)