synchronize


Description:

public abstract bool synchronize (Cancellable? cancellable = null) throws Error

Instructs this to flush any in-memory caches to disk, if applicable.

When filtering many messages, delaying this step until all messages have been classified can improve performance.

If an error occurs, the function sets throws and returns false.

Parameters:

this

a JunkFilter

cancellable

optional Cancellable object, or null

Returns:

true if this was successfully synchronized




2022 vala-language.org