Does a call to an API function also wait for contract termination to resolve the promise ? #990
Answered
by
jeapostrophe
AtegyekaRodgers
asked this question in
Q&A
-
I would like to keep calling a number of API function while still attached to the same contract. In case you want to look at my code, check lines 28 - 36 inside src/dashboard.js |
Beta Was this translation helpful? Give feedback.
Answered by
jeapostrophe
May 16, 2022
Replies: 1 comment 1 reply
-
Your code looks totally fine. It will make one call and then return. If you use |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
jeapostrophe
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Your code looks totally fine. It will make one call and then return. If you use
insurerContractHandle
twice, it will only do contract verification once. What do you think the problem is?