Skip to content
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

Add WithDatastore option. #82

Merged
merged 1 commit into from
Feb 12, 2021
Merged

Add WithDatastore option. #82

merged 1 commit into from
Feb 12, 2021

Conversation

nasdf
Copy link
Contributor

@nasdf nasdf commented Feb 6, 2021

I am using the pubsub router to share user profiles. I'd like to be able to have a last known value persisted for offline access.
I realize this can cause issues with "stale" values, but in my use case having an older version is better than having none at all.

Copy link
Member

@Stebalien Stebalien left a comment

Choose a reason for hiding this comment

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

Sounds reasonable.

@Stebalien Stebalien merged commit 58d4a76 into libp2p:master Feb 12, 2021
@aschmahmann aschmahmann mentioned this pull request Dec 1, 2021
80 tasks
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