File tree Expand file tree Collapse file tree
docs/production-deployment/cloud/get-started Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -598,14 +598,14 @@ myClient.Connection.RpcMetadata = new Dictionary<string, string>()
598598Create an initial ` Connection ` (for use with ` Client ` ):
599599
600600``` typescript
601- const connection = await Connection .connect (
601+ const connection = await Connection .connect ({
602602 address: <endpoint >,
603603 tls: true ,
604604 apiKey: <APIKey >,
605605 metadata: {
606606 ' temporal-namespace' : <namespace_id >.< account_id > ,
607607 },
608- )
608+ });
609609const client = new Client ({
610610 connection ,
611611 namespace: <namespace_id >.< account_id > ,
@@ -615,14 +615,14 @@ const client = new Client({
615615Create an initial Worker ` NativeConnection ` (for use with ` Worker ` ):
616616
617617``` typescript
618- const connection = await NativeConnection .connect (
618+ const connection = await NativeConnection .connect ({
619619 address: <endpoint >,
620620 tls: true ,
621621 apiKey: <APIKey >,
622622 metadata: {
623623 ' temporal-namespace' : <namespace_id >.< account_id > ,
624624 },
625- )
625+ });
626626const worker = await Worker .create ({
627627 connection ,
628628 namespace: <namespace_id >.< account_id > ,
You can’t perform that action at this time.
0 commit comments