# types.TmuxEventStream.close

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

```
close(): Promise<void>
```

End the connection. Safe to call more than once.
