Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Use InMemoryPersistenceStorage for persisting pod records #80
Use InMemoryPersistenceStorage for persisting pod records #80
Changes from 27 commits
19681f1
eb28b79
0e5c5c6
eccd7ff
19cbb44
9ac896d
92c1c08
f71b932
3772c77
d895c68
3fd9cb3
5baccdd
21810fc
6d2c943
6d8faf8
88959c6
adcdd60
fa19488
3a0e7a2
4b6af6d
1f6ec8e
e30961e
265e7fd
b41c1c8
827923a
f836891
059e0a4
a9389b5
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is getting closer to it but I don't understand why I cannot be a async. The two main factory methods
asFlow
andasSinkAndSource
return futures. So you could simply callThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Discusses this offline, In an ideal world we should be using async-await construct to do this in a non-blocking fashion. But factory methods
fromFlow
andfromClient
requires this to be done in a blocking fashion. I guess we can find a more cleaner solution once we finalize on a limited number of factory methods.Based on the isolated fact that we can't make any progress until we load the records I guess this is okay for now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fromClient
andfromFlow
could just be non-blocking. The signature of these methods is not set in stone.