Closed amadeu01 closed 3 years ago
I would like to make some calls to a webserver and only finish the command after get some answer. How could I achieve this?
@amadeu01 Use something like that:
... Networking.get(url: url) { result in ...handle result here... CFRunLoopStop(CFRunLoopGetCurrent()) } CFRunLoopRun() print("Ended OK")
@mkll thanks!
I would like to make some calls to a webserver and only finish the command after get some answer. How could I achieve this?