-
Notifications
You must be signed in to change notification settings - Fork 440
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
promisekit: warning: wait()
called on main thread!
#372
Comments
can you provide examples to reproducw of the code and output log errors? |
Its because your calling wait() in the main thread. Use dispatch.
Thats sorta what you do. Or dont call wait and use a completion handler. |
ok |
I have run with background and main thread to return a data . |
@dangell7 thanks again for the help! would be happy to send you rewards from GitCoin grant program ! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have face this issues when calling the transaction or balance ,this will be delay our app ,anyone give me a solution for this ?
web3swift in swift 5
The text was updated successfully, but these errors were encountered: