# libtmux::detail::CommandCompletion::bind_cancellation

- **Module:** libtmux::detail
- **Package:** libtmux-cxx
- **Language:** C++
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-cxx/blob/75ff8098f8b2a6d7690962ba82087b19d086b5b8/include/libtmux/detail/command_completion.hpp#L32
- **Page:** https://libtmux.org/en/cxx/latest/reference/libtmux-detail-commandcompletion-bind_cancellation/

```
virtual void
    bind_cancellation(CommandCancellation) noexcept = 0;
```

## Parameters

- `CommandCancellation`
