pub fn modules() -> Result<JsValue, JsValue>
Returns the registered application modules object stored in the workflow global.