How to declare escaping in completion in callback in Swift

Issue #464

1
2
3
typealias Completion = (Result<User, Error>) -> Void

func validate(completion: @escaping Completion, then: (String, String, @escaping Completion) -> Void) {}

Comments