acceptSharesResultBlock
The closure to execute when the operation finishes.
Declaration
var acceptSharesResultBlock: ((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, orAn error that contains information about a problem encountered processing the shares.
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.