You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The timeout.swift code from the Lifecycle example is duplicated in the the LambdaRuntimeClientTest (after merging #545)
There is also another code that implements a timeout, although less elegantly, in LambdaRuntimeTests
I propose
1/ to move the Timeout.swift file to the AWSLambdaRuntime target and reuse its mechanism in both tests and the lifecycle example
2/ to rename the function from timeout() to withTimeout() to be consistent with similar functions (withTaskCancellationHandler, withTaskgroup, withServer etc)