# types.TmuxEventStream.close

- **Module:** types.TmuxEventStream
- **Package:** libtmux
- **Language:** TypeScript
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-ts/blob/3fe1ca654b81b8cbf4a13b777a001a3298c87a6f/packages/libtmux/src/types.ts#L882
- **Page:** https://libtmux.org/en/ts/latest/reference/types-tmuxeventstream-close/

```
types.TmuxEventStream.close() -> Promise<void>
```

End the connection. Safe to call more than once.
