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 99e18c1 commit 8bd34c5
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 8bd34c5

Please sign in to comment.