Core LibraryunreleasedAPI Reference

Choose documentation 1

latest

Current version

latest
English

Unreleased io.github.libtmux:libtmux-clojure has not been released. Its API may change during development. This site's structure and URLs may change too.

Clojure API

function libtmux-clojure latest

libtmux.async/close-runtime!

Cancels owned tasks and callbacks and shuts down the runtime's executors.

Source and package
Qualified name
libtmux.async/close-runtime!
Module
libtmux.async
Declared in
libtmux.async
Package
io.github.libtmux:libtmux-clojure
Source
libtmux-clojure/src/main/clojure/libtmux/async.clj

Public owner: libtmux.async

Description#

Waits within :close-timeout-ms. Interruption-resistant work can outlive that budget; it cannot be forcibly stopped. Pending cleanup throws ex-info with :tmux/error :cleanup-pending. Safe to call again; returns nil after cleanup. task-state keeps incomplete cleanup observable; cancel! targets one task.

Parameters
  • runtime (libtmux.async.AsyncRuntime) #

Esc

Type to search.

Reference previewOpen reference