func startRequest(_ request: Request, success: (Response) -> Void, failure: (Error) -> Void) { beginAsync { do { success(await try startRequestAsync(request)) } catch let e { failure(e) } } }