Function yrs::ytransaction_pending_update
source · #[no_mangle]
pub unsafe extern "C" fn ytransaction_pending_update(
txn: *const Transaction
) -> *mut YPendingUpdate
Expand description
Returns a pending update associated with an underlying YDoc
. Pending update contains update
data waiting for being integrated into main document store. Usually reason for that is that
there were missing updates required for integration. In such cases they need to arrive and be
integrated first.
Returns NULL
if there is not update pending. Returned value can be released by calling
ypending_update_destroy
.
See also: ytransaction_pending_ds