File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,9 @@ rclnodejs.isShutdown();
2121// $ExpectType void
2222rclnodejs . shutdown ( ) ;
2323
24+ // $ExpectType void
25+ rclnodejs . removeSignalHandlers ( ) ;
26+
2427// ---- DistroUtil ----
2528
2629// $ExpectType DistroId
Original file line number Diff line number Diff line change @@ -144,6 +144,13 @@ declare module 'rclnodejs' {
144144 type : T
145145 ) : MessageType < T > ;
146146
147+ /**
148+ * Removes the default signal handler installed by rclnodejs. After calling this, rclnodejs
149+ * will no longer clean itself up when a SIGINT is received, it is the application's
150+ * responsibility to properly shut down all nodes and contexts.
151+ */
152+ function removeSignalHandlers ( ) : void ;
153+
147154 /**
148155 * Get a list of action names and types for action clients associated with a node.
149156 * @param node - The node used for discovery.
You can’t perform that action at this time.
0 commit comments