What a turn waits for before its first iteration: the extensions of its scopes (#498).
loop/send! binds one cell for each turn. The extension load marks the cell while the
turn waits for another load or prepares a package. The gateway reads the cell to show the wait.
What a turn waits for before its first iteration: the extensions of its scopes (#498). `loop/send!` binds one cell for each turn. The extension load marks the cell while the turn waits for another load or prepares a package. The gateway reads the cell to show the wait.
The readiness cell of the turn on this thread: an atom of nil or
{:stage :waiting|:preparing :package name-or-nil :since-ms ms}. Nil outside a turn.
The readiness cell of the turn on this thread: an atom of nil or
`{:stage :waiting|:preparing :package name-or-nil :since-ms ms}`. Nil outside a turn.(cell)A new empty readiness cell for one turn.
A new empty readiness cell for one turn.
(mark! stage package)Record that the turn of this thread waits (:waiting) or prepares (:preparing) the package
package, nil when no package is known. A repeated mark of the same stage and package keeps
its first time. Without a turn cell this does nothing.
Record that the turn of this thread waits (`:waiting`) or prepares (`:preparing`) the package `package`, nil when no package is known. A repeated mark of the same stage and package keeps its first time. Without a turn cell this does nothing.
(marking stage package & body)Run body with the turn cell marked as stage and package; see marking*.
Run `body` with the turn cell marked as `stage` and `package`; see [[marking*]].
(marking* stage package f)Call f with the turn cell marked as stage and package, then restore the earlier mark.
Call `f` with the turn cell marked as `stage` and `package`, then restore the earlier mark.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |