set_callback_full


Description:

[ Version ( since = "1.12" ) ]
public void set_callback_full (owned RingBufferCallback? cb)

Sets the given callback function on the buffer.

This function will be called every time a segment has been written to a device.

MT safe.

Parameters:

this

the RingBuffer to set the callback on

cb

the callback to set

notify

function to be called when user_data is no longer needed

user_data

user data passed to the callback