Skip to content

Implement fiber local storage #40

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 18 commits into from
Jan 14, 2022
Merged

Implement fiber local storage #40

merged 18 commits into from
Jan 14, 2022

Conversation

kelunik
Copy link
Member

@kelunik kelunik commented Jan 12, 2022

I've previously implemented this in https://github.com/kelunik/fiber-local, but I think it's important to clear the storage if we reuse fibers.

@trowski
Copy link
Member

trowski commented Jan 12, 2022

@kelunik This looks nice now, I think I prefer it over the changes in my branch. Can we add a template type to FiberLocal?

@WyriHaximus
Copy link
Contributor

@kelunik Can you add a (simple) example on how to use this to the examples/ folder?

@kelunik
Copy link
Member Author

kelunik commented Jan 13, 2022

@WyriHaximus I've added two examples.

@kelunik
Copy link
Member Author

kelunik commented Jan 14, 2022

It's good to see how merging #41 makes some tests here fail. 😄

@kelunik kelunik merged commit db42a2a into main Jan 14, 2022
@kelunik kelunik deleted the fiber-local branch January 14, 2022 17:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants