Global Functionsoto-core 7.4.0SotoTestUtils
withTeardown(_:teardown:)
Run closure and then run teardown closure once closure has either returned or throw an error
func withTeardown<Value>(_ process: () async throws -> Value, teardown: () async -> Void) async throws -> Value