Function mentat_ffi::store_register_observer [] [src]

#[no_mangle]
pub unsafe extern "C" fn store_register_observer(
    store: *mut Store,
    key: *const c_char,
    attributes: *const Entid,
    attributes_len: usize,
    callback: extern "C" fn(key: *const c_char, reports: &TxChangeList)
)

Registers a TxObserver with the key to observe changes to attributes on this store. Calls callback is a relevant transaction occurs.

Panics

If there is no Attribute in the Schema for a given attribute.