From 8bd34c58d279487e67c40dd64337db0ccf5fcd08 Mon Sep 17 00:00:00 2001 From: Andrej Mihajlov Date: Fri, 22 Sep 2023 10:28:09 +0200 Subject: [PATCH] Document AnyCancellableTask --- ios/PacketTunnelCore/Actor/AutoCancellingTask.swift | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ios/PacketTunnelCore/Actor/AutoCancellingTask.swift b/ios/PacketTunnelCore/Actor/AutoCancellingTask.swift index 408ab7abf18b..4a2cf68d94e8 100644 --- a/ios/PacketTunnelCore/Actor/AutoCancellingTask.swift +++ b/ios/PacketTunnelCore/Actor/AutoCancellingTask.swift @@ -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