Skip to content

Commit e1a266a

Browse files
committed
Fix Context doc
1 parent 67b234c commit e1a266a

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

README.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -280,22 +280,25 @@ public final class Context: CustomDebugStringConvertible {
280280
public let deadline: DispatchWallTime
281281

282282
/// The UIN of cloud function actor.
283-
public static let uin: String
283+
public let uin: String
284284

285285
/// The APPID that the cloud function belongs to.
286-
public static let appid: String
286+
public let appid: String
287287

288288
/// The Tencent Cloud region that the cloud function is in.
289-
public static let region: String
289+
public let region: TencentCloud.Region?
290290

291291
/// The name of the cloud function.
292-
public static let name: String
292+
public let name: String
293293

294294
/// The namespace of the cloud function.
295-
public static let namespace: String
295+
public let namespace: String
296296

297297
/// The version of the cloud function.
298-
public static let version: Version
298+
public let version: Version
299+
300+
/// The role credential from SCF environment.
301+
public let credential: TencentCloud.Credential?
299302

300303
/// `Logger` to log with.
301304
///

0 commit comments

Comments
 (0)