You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not 100% sure if this counts as a bug but I think it should because it makes the programming model really hard.
If I configure
let desiredEL = context.eventLoop // or some other EL I like
let req = try HTTPClient.Request(url: url, method: req.method, headers: req.headers, body: .stream { _ in desiredEL.preconditionInEventLoop() })
let task = self.httpClient.execute(request: req,
delegate: self,
eventLoop: .delegate(on: desiredEL))
this would fail as the closure passed to .stream isn't executed on desiredEL.
The text was updated successfully, but these errors were encountered:
I'm not 100% sure if this counts as a bug but I think it should because it makes the programming model really hard.
If I configure
this would fail as the closure passed to
.stream
isn't executed ondesiredEL
.The text was updated successfully, but these errors were encountered: