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

Method constructor

nodejs_package/brainflow/board_shim.ts:167–175  ·  view source on GitHub ↗
(boardId: BoardIds, inputParams: Partial<IBrainFlowInputParams>)

Source from the content-addressed store, hash-verified

165 private inputJson: string;
166
167 constructor(boardId: BoardIds, inputParams: Partial<IBrainFlowInputParams>)
168 {
169 this.boardId = boardId;
170 this.masterBoardId =
171 inputParams.masterBoard && inputParams.masterBoard !== BoardIds.NO_BOARD ?
172 inputParams.masterBoard :
173 boardId;
174 this.inputJson = new BrainFlowInputParams (inputParams).toJson();
175 }
176
177 // logging methods
178 public static getVersion(): string

Callers

nothing calls this directly

Calls 1

toJsonMethod · 0.45

Tested by

no test coverage detected