JavaScript HSM API Dinamo
    Preparing search index...

    Function shutdownNativeHostPool

    • Closes the Native Host (dinamonh) process pool used internally by network operations PIX (pix.PIXPost/PIXPut/PIXGet/PIXDelete).

      These operations keep the dynamonh processes and a maintenance timer running in the background for the duration of the Node process, regardless of whether the connection to the HSM is disconnected via `disconnect()`. Short-lived scripts (such as examples, CLIs, and tests) that use these operations should call this function at the end to allow the Node process to terminate on its own.

      Returns Promise<void>