(dynamic & body)
Allows building of trees at run time, dynamic node executes its body and runs the returned tree.
Allows building of trees at run time, dynamic node executes its body and runs the returned tree.
Given a node dispatch to its exec implementation.
Given a node dispatch to its exec implementation.
(exec-repl behaviour cleanup-when-interrupted)
Exec given behaviour, when the user presses a key interrupt it and run cleanup action unless it completes.
Exec given behaviour, when the user presses a key interrupt it and run cleanup action unless it completes.
(forever c)
When its child task finishes, it runs it once more.
When its child task finishes, it runs it once more.
(interrupter & children)
Lets its child node run normally. If the child returns a result, it passes that result on up the tree. But, if the child is still working, and watcher returns a result it will terminate the child and return the result of perform. [watch child perform]
Lets its child node run normally. If the child returns a result, it passes that result on up the tree. But, if the child is still working, and watcher returns a result it will terminate the child and return the result of perform. [watch child perform]
(inverter c)
Inverts its childrens return value, succees becames failure and vice versa.
Inverts its childrens return value, succees becames failure and vice versa.
(limit i children)
Unless its children succeeds will keep running it at most i times.
Unless its children succeeds will keep running it at most i times.
(non-deterministic-selector & children)
Same as selector, but shuffles all its children prior to execution.
Same as selector, but shuffles all its children prior to execution.
(non-deterministic-sequence & children)
Same as sequence, but shuffles all its children prior to execution.
Same as sequence, but shuffles all its children prior to execution.
(parallel & xs)
Concurrently executes all its children. If policy is :sequence, it acts as a sequence. If the policy is :selector it acts as a selector.
Concurrently executes all its children. If policy is :sequence, it acts as a sequence. If the policy is :selector it acts as a selector.
(selector & children)
Tries to run all its children in sequence as soon as one succeeds it also succeeds.
Tries to run all its children in sequence as soon as one succeeds it also succeeds.
(sequence & children)
Runs all of its children in sequential order. If one of them fails, it also fails. Once all of them succeeds, it also succeeds.
Runs all of its children in sequential order. If one of them fails, it also fails. Once all of them succeeds, it also succeeds.
(until-fail c)
Runs its children until it returns false.
Runs its children until it returns false.
(until-success c)
Runs its children until it returns true.
Runs its children until it returns true.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close