libtmux.async
Bounded owned workers from runtime! and cancellable submit! tasks.
Source and package
- Qualified name
-
libtmux.async - Module
- libtmux.async
- Package
- io.github.libtmux:libtmux-clojure
- Source
- libtmux-clojure/src/main/clojure/libtmux/async.clj
-
Description#
completion-stageandthen!expose Java interop with explicit scheduling.
Members8#
Common operations4#
- cancel! function Requests cancellation. The first accepted cancellation reason wins.
- runtime! function Creates a closeable runtime owning bounded work, wait and callback lanes.
- then! function Returns a read-only CompletionStage applying
fafter successful task cleanup. - submit! function Submits a zero-argument function with the caller's dynamic bindings.
Other members4#
- close-runtime! function Cancels owned tasks and callbacks and shuts down the runtime's executors.
- completion-stage function Returns a read-only CompletionStage completed after worker cleanup.
- task-kind function Returns the declared
:ordinaryor:waitlane without waiting for the task. - task-state function Reads task progress:
:queued,:running,:cancelling,:cleanup-pending,
Guides#
Pages that discuss libtmux.async.