Avatar
omochimetaru 6/13/2018 5:23 AM
よかった。
5:24 AM
https://github.com/omochi/ForceHTTP/blob/master/Sources/ForceHTTP/FHTTPSession.swift#L255 先日作ったForceHTTPでも、キャンセルされてたらhandlerがnilなのでエラー通知されない、というロジックがあるんですが
Contribute to ForceHTTP development by creating an account on GitHub.
5:25 AM
swift-corelibs-foundation - The Foundation Project, providing core utilities, internationalization, and OS independence
5:26 AM
URLSessionのOSS実装で、同じような場面で特に分岐機構がなかったのでよく見たら、 https://github.com/apple/swift-corelibs-foundation/blob/master/Foundation/URLSession/URLSession.swift#L268 delegateQueueとかの型がOperationQueueだった。
swift-corelibs-foundation - The Foundation Project, providing core utilities, internationalization, and OS independence
5:27 AM
open func invalidateAndCancel() { NSUnimplemented() } まあ、キャンセルの実装されてないけどw
😇 1
😃 1