|
FireSync API
|
Begins restarting node application software.
This operation shuts down node application software and restarts it, but without resetting hardware or restarting the node operating system.
This feature enables information from error-checking that normally occurs during shutdown (e.g., memory leaks) to be preserved and accessed after restart. It can also be used (with some risk) as a faster form of reset when debugging.
This feature is not supported on every platform. If this feature is not supported, restarting will have the same effect as resetting.
By default, the restart process will begin immediately and the node will be disconnected. If the defer option is specified, the restart operation will be enqueued and will take effect when the node is later disconnected.
| node | Node object. |
| defer | Should restart be deferred until the node is later disconnected? |