Xcode requiring @escaping
for closure passed to update
#74
Unanswered
JimRoepcke
asked this question in
Q&A
Replies: 1 comment 1 reply
-
@JimRoepcke I believe the error you're seeing applies to your Because this doesn't appear to be a bug in the library, I'm going to convert this to a discussion, where hopefully we can get to the bottom of it. |
Beta Was this translation helpful? Give feedback.
1 reply
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.
-
Writing a function that uses
update
, and the compiler complains that I have to annotate my closure as@escaping
to use it withupdate
, butupdate
doesn't declare the parameter as@escaping
. Any idea why this is or how to work around this? I can definitely make myupdateClient
parameter@escaping
, but it seems like this should be unnecessary.Beta Was this translation helpful? Give feedback.
All reactions