<!--
{
  "availability" : [

  ],
  "documentType" : "symbol",
  "framework" : "BitcoinKernel",
  "identifier" : "/documentation/BitcoinKernel/NotificationCallbacks",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "BitcoinKernel"
    ],
    "preciseIdentifier" : "s:13BitcoinKernel21NotificationCallbacksC"
  },
  "title" : "NotificationCallbacks"
}
-->

# NotificationCallbacks

Swift-friendly wrapper for kernel notification callbacks.

```
final class NotificationCallbacks
```

## Overview

Populate the closure properties you care about, then pass to
[`setNotifications(_:)`](/documentation/BitcoinKernel/ContextOptions/setNotifications(_:)). The kernel takes ownership of
the callback state and releases it when the context is destroyed.

All callbacks are dispatched on kernel-internal threads.