MCPcopy Create free account
hub / github.com/SpacehuhnTech/espwebtool / addOutput

Function addOutput

src/App.js:40–45  ·  view source on GitHub ↗
(msg)

Source from the content-addressed store, hash-verified

38
39 // Add new message to output
40 const addOutput = (msg) => {
41 setOutput({
42 time: new Date(),
43 value: `${msg}\n`,
44 })
45 }
46
47 // Connect to ESP & init flasher stuff
48 const clickConnect = async () => {

Callers 3

clickConnectFunction · 0.85
eraseFunction · 0.85
programFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected