Combine(5) : Cancellable

Panther·2021년 4월 25일
0

Swift Combine Framework

목록 보기
5/7

https://developer.apple.com/documentation/combine/cancellable

"A protocol indicating that an activity or action supports cancellation."

취소를 지원하는 활동 혹은 액션을 나타내는 포로토콜입니다.

Declaration

protocol Cancellable

Overview

cancel() 메소드를 호출하는 것을 통해 할당된 모든 리소스를 버릴 수 있습니다. 타이머, 네트워크 접근, 디스크 입출력 같은 부작용을 멈추게 할 수 있습니다.

0개의 댓글