Contents

fetchShareMetadataResultBlock

The closure to execute when the operation finishes.

Declaration

var fetchShareMetadataResultBlock: ((Result<Void, any Error>) -> Void)? { get set }

Discussion

The closure returns no value and takes the following parameter:

  • A Result that contains either:

    • A successful Result, or

    • An error that contains information about a problem encountered fetching the share metadatas.

This closure executes only once. The closure executes serially with respect to the other closures of the operation.

Set this property’s value before you execute the operation or submit it to a queue.