Am I able to implement a background event loop that runs forever using this library #365
stan-stately
started this conversation in
General
Replies: 1 comment 5 replies
-
I should note that I don't want to expose the fact that this provider uses async internally to consumers of my library |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
im trying to write an auth token provider. This provider needs to fetch tokens in the background asynchronously. A minimal repro of what im trying to do is this:
I would expect the following test to pass but
@res
is always 0:Someone asked a similar question here: #268 but their solution seems over complicated.
What do you think?
Beta Was this translation helpful? Give feedback.
All reactions