Construct the notification handler.
Synopsis
Declared in <node/kernel_notifications.h>
KernelNotifications(
std::function<bool()> const& shutdown_request,
std::atomic<int>& exit_status,
node::Warnings& warnings);
Parameters
Name |
Description |
shutdown_request |
Callback used to request a node shutdown. |
exit_status |
Atomic exit status set when a fatal error triggers shutdown. |
warnings |
Warnings subsystem that node warnings are forwarded to. |
Created with MrDocs