save


Description:

public virtual signal bool save (Task task)

This signal can be used when subclassing SaveDelegate is not possible or cumbersome.

The default implementation of save_async will emit this signal to allow the consumer to implement asynchronous save in a flexible manner.

The caller is expected to complete task with a boolean when the save operation has completed.

Parameters:

task

a Task

Returns:

true if the operation was handled.