# LibTmux::Async::Server#list_clients

- **Module:** LibTmux::Async
- **Package:** libtmux-async
- **Language:** Ruby
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-ruby/blob/dcc9f8b5a6970144a9e7d80cd5f381d8f6198372/gems/libtmux/lib/libtmux/operations.rb#L93
- **Public owner:** LibTmux::Server#list_clients
- **Page:** https://libtmux.org/en/ruby/v0.1.0.alpha.2/reference/libtmux-async-server-list_clients/

```
def list_clients: (
  ?timeout: ::Numeric,
  ?cancel: untyped
) -> ::Array[
  {
    name: ::String,
    pid: ::Integer,
    created: ::Integer,
    tty: ::String?,
    session_id: ::String?,
    control: bool
  }
]
```

Behavior: Live acquisition.

Behavior contract: Live acquisition.
