Function yrs::ytransaction_snapshot

source ยท
#[no_mangle]
pub unsafe extern "C" fn ytransaction_snapshot(
    txn: *const Transaction,
    len: *mut u32
) -> *mut c_char
Expand description

Returns a snapshot descriptor of a current state of the document. This snapshot information can be then used to encode document data at a particular point in time (see: ytransaction_encode_state_from_snapshot).