You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
UI Console has the IExecutor bound to "sync" symbol...
usage:
(def p (. sync Run (fn [active-doc] (. active-doc Title))) ;; returns a promise instantly,
;; queues your fn for execution on revit transaction (deref p) ;; blocks repl thread, till promise is delivered @p ;; does the same, with extra syntax sugar (realized? p) ;; does not block, tells you if p is delivered.
Socket repl does not support this yet, but it will, cuz i like Emacs too much.
using global static reference to bind document to a symbol in user namespace is bad idea.
It works, but its bad.
The text was updated successfully, but these errors were encountered: