Function yrs::yarray_iter

source ·
#[no_mangle]
pub unsafe extern "C" fn yarray_iter(
    array: *const Branch,
    txn: *mut Transaction
) -> *mut ArrayIter
Expand description

Returns an iterator, which can be used to traverse over all elements of an array (array’s length can be determined using yarray_len function).

Use yarray_iter_next function in order to retrieve a consecutive array elements. Use yarray_iter_destroy function in order to close the iterator and release its resources.