# LibTmux::Async::Server#kill

- **Module:** LibTmux::Async
- **Package:** libtmux-async
- **Language:** Ruby
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-ruby/blob/c8b839595d5a30e271e3f9be0d0fe811ddb11b7e/gems/libtmux/lib/libtmux/server.rb#L245
- **Public owner:** LibTmux::Server#kill
- **Page:** https://libtmux.org/en/ruby/v0.1.0/reference/libtmux-async-server-kill/

tmux command: [`kill-server`](/en/tmux/latest/manual/kill-server/)

```
def kill: (
  ?timeout: ::Numeric,
  ?cancel: untyped
) -> ::LibTmux::CommandResult
```

Behavior: Killing daemons.

Behavior contract: Killing daemons.

## Parameters

- `timeout` (`::Numeric`)
- `cancel` (`untyped`)
