Skip to main content

eval_with_signals

Function eval_with_signals 

Source
pub fn eval_with_signals(script: &str) -> Result<String, RuntimeError>
Expand description

Evaluate script with the reactivity core already in scope.

The core is inlined rather than imported: the engine’s module loader wants a filesystem resolver, and the point here is to exercise the exact source that ships, not to test a module loader. export is stripped so the same file serves both purposes without a build step.