Contents

fetchShareParticipantsResultBlock

The closure to execute when the operation finishes.

Declaration

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

Discussion

This property is a closure that returns no value and has the following parameter:

  • A Result that contains either:

    • A successful Result, or

    • An error that contains information about a problem encountered generating the share participants.

The fetch operation executes this closure only once. The closure executes before the operation’s completion closure. The closure executes serially with respect to the other closures of the operation.

If you intend to use this closure to process results, set it before you execute the operation or submit the operation to a queue.