-
-
Notifications
You must be signed in to change notification settings - Fork 9.1k
en/lc/2622/ #2835
en/lc/2622/
#2835
-
Beta Was this translation helpful? Give feedback.
All reactions
-
👍 3 -
🎉 1
Replies: 1 comment 3 replies
-
Hey!
Once the duration has elapsed, the key should be inaccessible.
There will be no records about expired data, if .removeExpire()
will run
private now(): number { return new Date().getTime(); }
IMHO Date.now()
is more convinient for such purposes )
Beta Was this translation helpful? Give feedback.
All reactions
3 replies
-
Hello, could you please submit a pull request to improve the existing solution?
Beta Was this translation helpful? Give feedback.
All reactions
-
Shure!
Beta Was this translation helpful? Give feedback.
All reactions
-
❤️ 1
-
@yanglbme done )
Beta Was this translation helpful? Give feedback.
All reactions
-
👍 1
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment