compile_logic

Function compile_logic 

Source
pub fn compile_logic(logic_json: &str) -> Result<CompiledLogicId, String>
Expand description

Compile logic from a JSON string and return a unique ID

The compiled logic is stored in a global thread-safe cache. If the same logic was compiled before, returns the existing ID.