Constant
Emit one typed value.
Emits one literal value of kind. The scalar counterpart of a hard-coded number in a formula, and the usual right-hand side of a Compare.
At a glance
Module type
Constant
Category
Primitives · Scalar and json
Default tier
reactive
Runs on
reactive, durable
Starts a flow
no
Holds a body
no
Keeps state between runs
no
Available in
every application type
Parameters
value
string | number | boolean | null · required · defaults to null
The literal to emit.
kind
"string" | "number" | "boolean" | "datetime" · required · defaults to "string"
The type of the emitted value.
Inputs
on
event
no
Implicit on every module that does not itself start a flow: wire an event here to make this module the start of what that event runs.
Outputs
value
scalar
scalar, json, text, signal
The literal, typed by kind.
Last updated

