MCPcopy Create free account
hub / github.com/brainflow-dev/brainflow / getLib

Method getLib

nodejs_package/brainflow/board_shim.ts:134–147  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

132 }
133
134 private getLib()
135 {
136 try
137 {
138 const lib = koffi.load(this.dllPath);
139 return lib;
140 }
141 catch (err)
142 {
143 console.error(err);
144 throw new BrainFlowError (BrainFlowExitCodes.GENERAL_ERROR,
145 `${'Could not load BoardController DLL - path://'}${this.dllPath}`);
146 }
147 }
148
149 public static getInstance(): BoardControllerDLL
150 {

Callers 1

constructorMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected