   (when status
     (call-module #(.parseJail status chat-id file callback))))
 
-(defn call-jail [{:keys [jail-id path params callback]}]
+(defn execute-call [{:keys [jail-id path params callback]}]
   (when status
     (call-module
       #(do

                             (log/debug (str "VM console(" type ") - " message)))
                           (callback r')))]
           (.callJail status jail-id (types/clj->json path) (types/clj->json params') cb))))))

(defn call-function!
  [{:keys [chat-id function callback] :as opts}]

    (call-module
      (fn []
        (let [init-js (str js-res/status-js "I18n.locale = '" rn-dependencies/i18n.locale "';")]
          (.initJail status init-js #(log/debug "jail initialized")))))))

(defonce listener-initialized (atom false))

