How to use an async Reader #372
Unanswered
matthewpflueger
asked this question in
Q&A
Replies: 1 comment
-
Interesting. It should work without any problems with Could you write similar test case with a minimal dependency set in order to validate the behavior? I would like to narrow the registered context as much as possible, maybe there is something strange happening with your registered dependencies. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I have a bunch of dependencies that I create using createReader. Something like:
Then later:
This works great! But now I find I need to create a Reader whose handler returns a Promise, something like:
Then later:
Except when later trying to use this dependency I always get back the Promise but what I expected was the resolved value.
I have other async dependencies like:
And it works well (I get the value of the resolved Promise not the Promise itself).
Is it possible to do something similar with createReader?
Beta Was this translation helpful? Give feedback.
All reactions