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
Implementations of this interface define a type S of the thread-local state that they need to store on resume of a coroutine and restore later on suspend.
But isn't it the other way around? I.e. it needs to store it on suspend and restore it on resume?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
The documentation of ThreadContextElement states:
But isn't it the other way around? I.e. it needs to store it on suspend and restore it on resume?
Beta Was this translation helpful? Give feedback.
All reactions