---
title: SetEnableWithCompletion_Impl
framework: Kernel
role: symbol
role_heading: Instance Method
platforms: [macOS 12.0+]
path: kernel/ioservicestatenotificationdispatchsource/3753356-setenablewithcompletion_impl
---

# SetEnableWithCompletion_Impl

## Declaration

```occ
kern_return_t SetEnableWithCompletion_Impl(bool enable, IODispatchSourceCancelHandler handler);
```
