Liking cljdoc? Tell your friends :D

dirac.agent.impl


boot!clj

(boot! & [config])

Attempts to boot the Dirac Agent.

We want to make this function robust and safe to be called by :repl-options :init (Leiningen). It runs on a separate thread and waits there for nREPL server to come online.

The problem with lein repl :init config is that it is evaluated before nREPL fully starts. Actually it waits for this init code to fully evaluate before starting nREPL server.

Attempts to boot the Dirac Agent.

We want to make this function robust and safe to be called by :repl-options :init (Leiningen).
It runs on a separate thread and waits there for nREPL server to come online.

The problem with `lein repl` :init config is that it is evaluated before nREPL fully starts.
Actually it waits for this init code to fully evaluate before starting nREPL server.
sourceraw docstring

boot-now!clj

(boot-now! & [config])
source

boot-now!*clj

(boot-now!* config)
source

create!clj

(create! config)
source

create-agent!clj

(create-agent! config)
source

create-tunnel!clj

(create-tunnel! config)
source

current-agentclj

source

destroy!clj

(destroy!)
source

destroy-agent!clj

(destroy-agent! agent)
source

destroy-tunnel!clj

(destroy-tunnel! tunnel)
source

failed-to-start-dirac-agent-messageclj

(failed-to-start-dirac-agent-message max-boot-trials
                                     trial-display
                                     nrepl-server-url)
source

get-agent-infoclj

(get-agent-info agent)
source

get-tunnelclj

(get-tunnel agent)
source

last-idclj

source

live?clj

(live?)
source

make-agent!clj

(make-agent! options tunnel)
source

maybe-setup-logging!clj

(maybe-setup-logging! config)

Calls dirac.logging/setup! if present.

Please note that under normal circumstances dirac.logging is not included in the Dirac library becasue that would bring in unwanted dependencies as discussed here https://github.com/binaryage/dirac/issues/44.

You can install a special version of the Dirac library with logging support included as described here: https://github.com/binaryage/dirac/blob/master/docs/faq.md#how-to-enable-debug-logging-in-dirac-agent

Calls dirac.logging/setup! if present.

Please note that under normal circumstances dirac.logging is not included in the Dirac library becasue that would bring in
unwanted dependencies as discussed here https://github.com/binaryage/dirac/issues/44.

You can install a special version of the Dirac library with logging support included as described here:
  https://github.com/binaryage/dirac/blob/master/docs/faq.md#how-to-enable-debug-logging-in-dirac-agent
sourceraw docstring

next-id!clj

(next-id!)
source

try-resolve-dirac-logging-ns-symbolclj

(try-resolve-dirac-logging-ns-symbol sym)
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close