Skip to content

Commit

Permalink
Document AnyCancellableTask
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrej Mihajlov committed Sep 22, 2023
1 parent 59d972b commit f3c7507
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ios/PacketTunnelCore/Actor/AutoCancellingTask.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@

import Foundation

/**
Type that cancels the given task upon `deinit`.

It behaves identical to `Combine.AnyCancellable`.
*/
public final class AutoCancellingTask {
private let task: AnyTask

Expand Down

0 comments on commit f3c7507

Please sign in to comment.