MCPcopy Create free account
hub / github.com/Banrai/PiScan / ScanForever

Function ScanForever

scanner/scanner.go:150–174  ·  view source on GitHub ↗

ScanForever takes a linux input device string pointing to the scanner to read from, invokes the given function on the resulting barcode string when complete, or the errfn on error, then goes back to read/scan again

(device string, fn func(string), errFn func(error))

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

readFunction · 0.85
decodeEventsFunction · 0.85

Tested by

no test coverage detected