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
Again, I'm not 100% sure if this counts as a bug but I think it should. If I set my EventLoopPreference to .delegate(on: desiredEL), then I probably want everything to happen on desiredEL.
I would argue that all the user-visible things that are important for the programming model should then happen on desiredEL. Mainly:
After a chat with @ktoso, I noticed that this ticket isn't clear enough. The rules should be:
All callouts (delegate, futures, callbacks, ...) AHC makes to the user should be on the preferred EL, no matter where the Channel lives
All callins (returned futures, callins, ...) from the user must be tolerated on any thread.
IMHO fixing this issue is blocking 1.2.0, we cannot possibly release it as on master as it's impossible to use right now.
Again, I'm not 100% sure if this counts as a bug but I think it should. If I set my
EventLoopPreference
to.delegate(on: desiredEL)
, then I probably want everything to happen ondesiredEL
.I would argue that all the user-visible things that are important for the programming model should then happen on
desiredEL
. Mainly:task.futureResult
(not true today)StreamWriter
(not true today, programming model: EventLoopPreference.delegate(on:) not respected for .stream #198)The text was updated successfully, but these errors were encountered: