context: change storage API to return a restoreable context (#3292)
This API change allows storage implementations to put some state information into the return value, giving it the ability to act as a cookie. In environments where contexts can be replaced, the current original context can be stashed there and be restored when detach is called.
Loading
Please sign in to comment