-
Couldn't load subscription status.
- Fork 118
Milestone
Description
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)