Function read

Source
pub(crate) fn read(
    global: &GlobalScope,
    data: StructuredSerializedData,
    rval: MutableHandleValue<'_>,
) -> Fallible<Vec<DomRoot<MessagePort>>>
Expand description

Read structured serialized data, possibly containing transferred objects. Returns a vec of rooted transfer-received ports, or an error.