Transport.close
Begin idempotent shutdown and return a fresh observer Future. New admissions fail with Closed; queued requests are cancelled without dispatch and running jobs are cancelled. Cancelling an observer never cancels private cleanup. Only successful is_done completion proves all owned jobs, pipes, and watchers have completed cleanup. The borrowed loop remains usable. Callers must keep driving it through shutdown.
Source and package
- Qualified name
-
LibTmux:: Async:: Transport:: close - Module
- LibTmux::Async
- Declared in
Transport- Package
- LibTmux-Async
- Source
- packages/async/lib/LibTmux/Async/Transport.pm
- sub close($self)
-
Methods#