Skip to main content

preload

Function preload 

Source
pub fn preload(lua: &Lua) -> Result<()>
Expand description

Register flow_dsl and bp_dsl in lua’s package.preload table so require("flow_dsl") / require("bp_dsl") resolve to the baked-in Lua source. Idempotent to call more than once on the same Lua (each call simply re-sets the same two preload entries).