Re:From Rust to TypeScript
by NobodyNada on Saturday September 12, 2020 @03:11PM
(#24454707)
Yes, that is still the case with 5.2. However, a proposal to add typed `throws` is currently being drafted and prototyped [0]. It won't be available in Swift 5.3, but if all goes well it might land in the next release after.
(Also, if you're doing Vapor programming, you may be pleased to know that Swift 6 is expected [1] to bring a real concurrency model, which will likely include some form of async/await so that you won't have to muck about with all those nested closures.)
(Also, if you're doing Vapor programming, you may be pleased to know that Swift 6 is expected [1] to bring a real concurrency model, which will likely include some form of async/await so that you won't have to muck about with all those nested closures.)
[0]: https://forums.swift.org/t/typed-throws/39660
[1]: https://forums.swift.org/t/on-the-road-to-swift-6/32862/