pub unsafe extern "C" fn aeron_async_next_session_id(
async_: *mut *mut aeron_async_get_next_available_session_id_t,
client: *mut aeron_t,
stream_id: i32,
) -> c_intExpand description
Asynchronously request next available session from the media driver. The session id will be unique for the connected media driver and given {@code stream_id}.
@param async object to use for polling completion. @param client connected to the media driver. @param stream_id for which a new session id is requested. Media driver only checks for session clashes at the stream level. @return 0 for success or -1 for an error.