executeAction

fun executeAction(    id: UUID,     fileAction: FileAction,     originator: UUID,     continuation: () -> Unit,     failureHandler: (ErrorCode, Throwable?) -> Unit)

Retrieve the ManagedFileWrapper and provide it with a request to obtain the raw file bytes.

Parameters

id

The ManagedFileWrapper cache id of the file to act upon.

fileAction

The FileAction to execute.

originator

The AvailClient.id of the client that originated this change.

continuation

What to do when sufficient processing has occurred.

failureHandler

A function that accepts a ErrorCode that describes the nature of the failure and an optional Throwable.