Skip to content

feat: adds forget function#2

Merged
kentcdodds merged 2 commits into
epicweb-dev:mainfrom
dj-rabel:feat/forget-function
May 29, 2024
Merged

feat: adds forget function#2
kentcdodds merged 2 commits into
epicweb-dev:mainfrom
dj-rabel:feat/forget-function

Conversation

@dj-rabel

Copy link
Copy Markdown
Contributor

Hello @kentcdodds,

as I need to remember a HttpServer instance and clear that instance from "memory" if the server shuts down unexpectedly, I could make good use of a "forget" function to clear a specific value from "memory".

The code was created for our project anyway, so I thought I'll offer it to you as well, to extend the package.
Hope you like it.

Regards
Ruben

@kentcdodds kentcdodds left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I love it. Great idea. Thanks!

@kentcdodds kentcdodds merged commit 3131177 into epicweb-dev:main May 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants