StorageTaskOperation interface

Represents an operation to be performed on the object

Properties

name

The operation to be performed on the object.

onFailure

Action to be taken when the operation fails for a object.

onSuccess

Action to be taken when the operation is successful for a object.

parameters

Key-value parameters for the operation.

Property Details

name

The operation to be performed on the object.

name: string

Property Value

string

onFailure

Action to be taken when the operation fails for a object.

onFailure?: "break"

Property Value

"break"

onSuccess

Action to be taken when the operation is successful for a object.

onSuccess?: "continue"

Property Value

"continue"

parameters

Key-value parameters for the operation.

parameters?: {[propertyName: string]: string}

Property Value

{[propertyName: string]: string}