Cancellable
A protocol indicating that an activity or action supports cancellation.
Declaration
protocol CancellableMentioned in
Overview
Calling cancel() frees up any allocated resources. It also stops side effects such as timers, network access, or disk I/O.