Function rusteron_archive::bindings::aeron_subscription_block_poll
source ยท pub unsafe extern "C" fn aeron_subscription_block_poll(
subscription: *mut aeron_subscription_t,
handler: aeron_block_handler_t,
clientd: *mut c_void,
block_length_limit: usize,
) -> c_long
Expand description
Poll the images under the subscription for available message fragments in blocks.
This method is useful for operations like bulk archiving and messaging indexing.
@param subscription to poll. @param handler to receive a block of fragments from each image. @param block_length_limit for each image polled. @return the number of bytes consumed or -1 for error.