gremlin
    Preparing search index...

    Function buildKeepAliveConnector

    • Builds an undici connector that sets SO_KEEPALIVE with the given idle delay on each new socket. baseConnector is parameterised so the wiring can be unit-tested with a fake connector.

      Parameters

      • delay: number
      • baseConnector: connector = ...

      Returns connector