OperationQueue.cancelAllOperations documentation should state that it cancels barrier blocks

Number:rdar://FB9162894 Date Originated:11 June 2021
Status:Open Resolved:
Product:Documentation Product Version:
Classification:Suggestion Reproducible:

Currently neither the documentation for cancelAllOperations nor addBarrierBlock indicates that barrier blocks added using `addBarrierBlock` will no longer execute if `cancelAllOperations` is used. I spent more time than I would have liked to discover this, so I propose this should be documented to save others' time.


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!