Core Library0.xAPI reference

Choose documentation 1

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

MoreLess about this notice

method libtmux-scala

LiveServer.attach

Listens through a control client attached to anchor, rebuilding on every announcement. The session is a required parameter: there is no arbitrary pick left to make, and a session that later disappears is ServerMirror's own reconnect-or-TargetGoneException policy, surfaced through LiveServer#failure like any other cause.

Source and package
Qualified name
io.github.libtmux.scaladsl.cats.LiveServer.attach
Package
io.github.libtmux.scaladsl.cats
Declared in
LiveServer
Distribution
io.github.libtmux:libtmux-scala_3
Source
libtmux-scala-cats/src/main/scala/io/github/libtmux/scaladsl/cats/LiveServer.scala
Scala method declarationsDeclares a method, with its name, parameter lists and return type.Language documentation attach[F[_]](anchor: Session[F])(implicit F: Async[F] ): Resource[F, LiveServer[F]]
Type parameters
Parameters

Recorded calls

source calls
No call edges in the Scala model.

The Scala reference records declarations, not calls, so this page shows no callers or callees. That is a limit of the extracted data, not a statement that nothing calls io.github.libtmux.scaladsl.cats.LiveServer.attach.

Esc
Search in

Type to search.

Reference previewOpen reference