soto-project / soto

Swift SDK for AWS that works on Linux, macOS and iOS
https://soto.codes
Apache License 2.0
878 stars 83 forks source link

Replace runThrowingTask with syncAwait #703

Closed adam-fowler closed 9 months ago

adam-fowler commented 10 months ago

runThrowingTask/runTask both required an EventLoop to run. Future changes will mean we will not have one available.

As with runThrowingTask/runTask this function should only ever be used in tests as it blocks the current thread.