@@ -40,11 +40,11 @@ public enum Lambda {
40
40
/// - handlerType: The Handler to create and invoke.
41
41
///
42
42
/// - note: This is a blocking operation that will run forever, as its lifecycle is managed by the AWS Lambda Runtime Engine.
43
- internal static func run< Handler: SimpleLambdaHandler > (
43
+ static func run< Handler: SimpleLambdaHandler > (
44
44
configuration: LambdaConfiguration = . init( ) ,
45
45
handlerType: Handler . Type
46
46
) -> Result < Int , Error > {
47
- Self . run ( configuration: configuration, handlerProvider: CodableSimpleLambdaHandler< Handler> . makeHandler( context: ) )
47
+ self . run ( configuration: configuration, handlerProvider: CodableSimpleLambdaHandler< Handler> . makeHandler( context: ) )
48
48
}
49
49
50
50
/// Run a Lambda defined by implementing the ``LambdaHandler`` protocol.
@@ -56,11 +56,11 @@ public enum Lambda {
56
56
/// - handlerType: The Handler to create and invoke.
57
57
///
58
58
/// - note: This is a blocking operation that will run forever, as its lifecycle is managed by the AWS Lambda Runtime Engine.
59
- internal static func run< Handler: LambdaHandler > (
59
+ static func run< Handler: LambdaHandler > (
60
60
configuration: LambdaConfiguration = . init( ) ,
61
61
handlerType: Handler . Type
62
62
) -> Result < Int , Error > {
63
- Self . run ( configuration: configuration, handlerProvider: CodableLambdaHandler< Handler> . makeHandler( context: ) )
63
+ self . run ( configuration: configuration, handlerProvider: CodableLambdaHandler< Handler> . makeHandler( context: ) )
64
64
}
65
65
66
66
/// Run a Lambda defined by implementing the ``EventLoopLambdaHandler`` protocol.
@@ -72,11 +72,11 @@ public enum Lambda {
72
72
/// - handlerType: The Handler to create and invoke.
73
73
///
74
74
/// - note: This is a blocking operation that will run forever, as its lifecycle is managed by the AWS Lambda Runtime Engine.
75
- internal static func run< Handler: EventLoopLambdaHandler > (
75
+ static func run< Handler: EventLoopLambdaHandler > (
76
76
configuration: LambdaConfiguration = . init( ) ,
77
77
handlerType: Handler . Type
78
78
) -> Result < Int , Error > {
79
- Self . run ( configuration: configuration, handlerProvider: CodableEventLoopLambdaHandler< Handler> . makeHandler( context: ) )
79
+ self . run ( configuration: configuration, handlerProvider: CodableEventLoopLambdaHandler< Handler> . makeHandler( context: ) )
80
80
}
81
81
82
82
/// Run a Lambda defined by implementing the ``ByteBufferLambdaHandler`` protocol.
@@ -88,11 +88,11 @@ public enum Lambda {
88
88
/// - handlerType: The Handler to create and invoke.
89
89
///
90
90
/// - note: This is a blocking operation that will run forever, as its lifecycle is managed by the AWS Lambda Runtime Engine.
91
- internal static func run(
91
+ static func run(
92
92
configuration: LambdaConfiguration = . init( ) ,
93
93
handlerType: ( some ByteBufferLambdaHandler ) . Type
94
94
) -> Result < Int , Error > {
95
- Self . run ( configuration: configuration, handlerProvider: handlerType. makeHandler ( context: ) )
95
+ self . run ( configuration: configuration, handlerProvider: handlerType. makeHandler ( context: ) )
96
96
}
97
97
98
98
/// Run a Lambda defined by implementing the ``LambdaRuntimeHandler`` protocol.
@@ -101,7 +101,7 @@ public enum Lambda {
101
101
/// - handlerProvider: A provider of the ``LambdaRuntimeHandler`` to invoke.
102
102
///
103
103
/// - note: This is a blocking operation that will run forever, as its lifecycle is managed by the AWS Lambda Runtime Engine.
104
- internal static func run(
104
+ static func run(
105
105
configuration: LambdaConfiguration = . init( ) ,
106
106
handlerProvider: @escaping ( LambdaInitializationContext ) -> EventLoopFuture < some LambdaRuntimeHandler >
107
107
) -> Result < Int , Error > {
0 commit comments