Hello World Input deprecated Source
lua
telem.input.helloWorld (checkval: number)Deprecated
This adapter is deprecated and will be removed in a future release. Use Custom Input instead.
This adapter produces a single metric with a specified static value, primarily serving as a reference implementation of InputAdapter.
Usage
lua
local telem = require 'telem'
local backplane = telem.backplane()
:addInput('my_hello', telem.input.helloWorld(123))
:cycleEvery(1)()This appends the following metric to the backplane:
| Name | Value | Unit |
|---|---|---|
hello_world | 123 |