()
| 6 | } |
| 7 | |
| 8 | async function runExample (): Promise<void> |
| 9 | { |
| 10 | const board = new BoardShim (BoardIds.SYNTHETIC_BOARD, {}); |
| 11 | board.prepareSession(); |
| 12 | board.startStream(); |
| 13 | await sleep (1000); |
| 14 | board.insertMarker(1); |
| 15 | await sleep (1000); |
| 16 | board.stopStream(); |
| 17 | const data = board.getBoardData(); |
| 18 | board.releaseSession(); |
| 19 | console.info('Data'); |
| 20 | console.info(data); |
| 21 | } |
| 22 | |
| 23 | runExample (); |
no test coverage detected