Core LibraryAPI Reference

Choose documentation 3

latest

Current version

latest
English

Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

struct LibTmux.jl latest

CancellationToken

Module LibTmux.CancellationToken LibTmux

An explicit, task-safe cancellation signal. cancel! is idempotent. Cancelling an operation retires its local resources; it does not roll back tmux effects.

Source and package
Module
LibTmux
Package
LibTmux
Source
src/process.jl
LibTmux.CancellationToken( lock::ReentrantLock, cancelled::Bool, next_id::UInt64, hooks::Dict{UInt64, Function} ) LibTmux.CancellationToken(lock, cancelled, next_id, hooks) LibTmux.CancellationToken()

Description#

CancellationToken()

Methods#

LibTmux.CancellationToken( lock::ReentrantLock, cancelled::Bool, next_id::UInt64, hooks::Dict{UInt64, Function} )[source]#

LibTmux.CancellationToken(lock, cancelled, next_id, hooks)[source]#

LibTmux.CancellationToken()[source]#

Discussed in Cancel a control wait · Ownership and I/O

Esc

Type to search.

Reference preview Open reference