set_auto_split_threshold


Description:

[ Version ( since = "0.2.0" ) ]
public void set_auto_split_threshold (uint threshold)

Sets how much elements the source is able to handle in a single request.

If user, during a search or browsing operation, asks for more elements than the threshold, the request will be automatically splitted in chunks, so up to threshold elements will be asked in each request.

Source will act as if user were asking just a chunk, and user won't notice that the request was chunked.

<note> <para> This function is intended to be used only by plugins. </para> </note>

Parameters:

this

a source

threshold

the threshold to set




2022 vala-language.org