Skip to content
1 min read · 163 words

batteries/orchestration/cells/lua

The Lua predicate cell — an untrusted-script evaluator for branch and select nodes.

Interfaces

InterfaceDescription
CreateLuaCellOptionsThe options accepted by createLuaCell. All optional; every field has a safe default.
LuaCellThe type of the cell returned by createLuaCell. It is a PredicateEvaluator with one extra field, status(), for inspecting the enforcement guarantee.
LuaCellStatusInspectable runtime status of a Lua cell instance: which enforcement layers are live and which were probed away at construction. Exposed for diagnostics and for tests that need to assert the guarantee without triggering a runaway script.

Type Aliases

Type AliasDescription
LuaCellGuaranteeThe enforcement guarantee a cell instance is actually delivering, probed at construction.

Functions

FunctionDescription
createLuaCellConstruct a Lua predicate evaluator cell.