stash_foreach


Description:

public bool stash_foreach (StashCallback callback) throws Error

Loops over all the stashed states and issue a callback for each one.

If callback returns a non-zero value, this will stop looping.

Parameters:

this

a Repository.

callback

a StashCallback.

user_data

callback user data.

Returns:

true if there was no error, false otherwise.