cancelAndFinishNow()
Finishes analysis immediately.
Declaration
final func cancelAndFinishNow() asyncDiscussion
This method cancels all pending work and then finishes analysis. It works similarly to calling cancelAnalysis(before:) and then finish(after:), but unlike finish(after:), this method is able to finish analysis prior to any input. The post-conditions for this method are identical to finish(after:).
You do not need to call this method before releasing this analyzer or its modules.