Function script::body::consume_body

source ·
pub fn consume_body<T: BodyMixin + DomObject>(
    object: &T,
    body_type: BodyType
) -> Rc<Promise>