shared user state with preferences_get and preferences_set #211
Labels
No labels
area: devops
area: discovery
area: docs
area: livestream
area: proposal
consider soon
dependencies
Epic
good first issue
hacktoberfest
help wanted
icebox
Invalid
level: 1
level: 2
level: 3
level: 4
needs: exploration
needs: grooming
needs: priority
needs: repro
needs: tech design
on hold
priority: blocker
priority: high
priority: low
priority: medium
resilience
Tom's Wishlist
type: bug
type: discussion
type: improvement
type: new feature
type: refactor
type: task
type: testing
unplanned
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: LBRYCommunity/lbry-redux#211
Loading…
Reference in a new issue
No description provided.
Delete branch "preferences"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
(as discussed on call today, I believe we need to get app state into 1-2 top-level properties)
I think success is correct here
preference_set({ key: "lbry-redux", value: { version: 1, tags: ['a', 'b'], subscribed_channels: ['@foo'] } } )
preference_set({ key: "lbry-android", value: { version: 1, settings: { alwaysDownload: true } } })
This looks good
@ -204,1 +204,4 @@
// Preferences
preference_get: (params: {}) => Promise<any>,
preference_set: (params: {}) => Promise<any>,
Can you create return types for this?