Skip to content

Commit 6404d94

Browse files
committed
add comment
1 parent 2388883 commit 6404d94

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/wrapper/CxWrapper.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import {Semaphore} from "async-mutex";
1313
type ParamTypeMap = Map<CxParamType, string>;
1414

1515
export class CxWrapper {
16-
private static instances =new Map<string, CxWrapper>();
16+
private static instances =new Map<string, CxWrapper>(); // Multiton pattern
1717
private static semaphore = new Semaphore(1); // Semaphore with 1 slot
1818
config: CxConfig;
1919
cxInstaller: CxInstaller;

0 commit comments

Comments
 (0)