Can't access cache by sync methods
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
- Issue type
- Feature
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- objective-c
- Domain
- mobile
Research direction
Start with the loadDataForKey:withCallback:onQueue: entry point and examine how its callback and queue define cache access. Clarify the intended synchronous return behavior and its interaction with asynchronous loading; done means an agreed API direction or implementation with documented behavior.
Written by the indexing model from the issue text.
Description
I expect to get the cache from the return value rather than in a block
Is there an alternative way to implement that makes it can return cache value directly?
- (BOOL)loadDataForKey:(NSString *)key
withCallback:(SPTPersistentCacheResponseCallback _Nullable)callback
onQueue:(dispatch_queue_t _Nullable)queue;
- Dominant language
- Objective-C
- Stars
- 1.2k
- Forks
- 74
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from spotify/SPTPersistentCache
-
Difficulty 1/5 Under an hour Newbie friendliness 55/100
spotify/SPTPersistentCache#125 · 1 reaction ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
spotify/SPTPersistentCache#105 · 2 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
spotify/SPTPersistentCache#102 ·
-
Difficulty 5/5 Over a week Newbie friendliness 20/100
spotify/SPTPersistentCache#99 · 3 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
All issues in spotify/SPTPersistentCache
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
razorpay/razorpay-pod#306 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
objective-see/KnockKnock#55 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
schuyler/macdown3000#589 ·
-
Suzhou subway logo OpenIcons Metro Public Transport
Difficulty 1/5 Under an hour Newbie friendliness 75/100
organicmaps/organicmaps#13617 · 2 comments ·