Contents

Cancellable

A protocol indicating that an activity or action supports cancellation.

Declaration

protocol Cancellable

Mentioned in

Overview

Calling cancel() frees up any allocated resources. It also stops side effects such as timers, network access, or disk I/O.

Topics

Canceling actions

Storing instances

Instance Methods

See Also

Publishers