foreach_sync


Description:

public bool foreach_sync (CacheKeysForeachFunc func, Cancellable? cancellable = null) throws Error

Calls func for each stored key in the this, providing information about its value and reference count.

Parameters:

this

an CacheKeys

func

an CacheKeysForeachFunc, which is called for each stored key

cancellable

optional Cancellable object, or null

user_data

user data for the func

Returns:

Whether succeeded.