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
/// Run a cloud function defined by implementing the `SCFHandler` protocol.
46
40
///
47
-
/// - parameters:
41
+
/// - Parameters:
48
42
/// - handler: `ByteBufferSCFHandler` based SCF function.
49
43
///
50
-
/// - note: This is a blocking operation that will run forever, as its lifecycle is managed by the Tencent SCF Runtime Engine.
44
+
/// - Note: This is a blocking operation that will run forever, as its lifecycle is managed by the Tencent SCF Runtime Engine.
51
45
publicstaticfunc run(_ handler:Handler){
52
46
self.run(handler: handler)
53
47
}
@@ -56,32 +50,24 @@ public enum SCF {
56
50
/// Use this to initialize all your resources that you want to cache between invocations. This could be database connections and HTTP clients for example.
57
51
/// It is encouraged to use the given `EventLoop`'s conformance to `EventLoopGroup` when initializing NIO dependencies. This will improve overall performance.
58
52
///
59
-
/// - parameters:
53
+
/// - Parameters:
60
54
/// - factory: A `ByteBufferSCFHandler` factory.
61
55
///
62
-
/// - note: This is a blocking operation that will run forever, as its lifecycle is managed by the Tencent SCF Runtime Engine.
56
+
/// - Note: This is a blocking operation that will run forever, as its lifecycle is managed by the Tencent SCF Runtime Engine.
0 commit comments