alfianlosari/ChatGPTSwift

How to cancel the stream request?

cellgit opened this issue · 1 comments

How to cancel the stream request?

Resolved

public var requestTask : Task<Void, Never>?

requestTask?.cancel()