thread-for-evaluation

swank.core

  • (thread-for-evaluation id conn)
Given an id and connection, find or create the appropiate agent.

0 Examples top

Log in to add / edit an example.

See Also top

Log in to add a see also.

Plus_12x12 Minus_12x12 Source swank/core.clj:325 top

(defn thread-for-evaluation
  "Given an id and connection, find or create the appropiate agent."
  ([id conn]
     (cond
      (= id true) (spawn-worker-thread conn)
      (= id :repl-thread) (find-or-spawn-repl-thread conn)
      :else (find-thread id))))
Vars in swank.core/thread-for-evaluation: = cond defn
Used in 0 other vars

Comments top

No comments for thread-for-evaluation. Log in to add a comment.