blockList.addAddresses(addresses[, type])
addresses<string[]> | <net.SocketAddress[]> 一组 IPv4 或 IPv6 地址。type<string> 要么是'ipv4',要么是'ipv6'。默认:'ipv4'。
一次操作将多个地址规则添加到阻止列表中。与在添加大量单个地址时反复调用 blockList.addAddress() 相比,这种方式更高效,因为这些地址是在一次内部锁定获取下插入的。
🌐 Adds multiple address rules to the block list in a single operation.
This is more efficient than calling blockList.addAddress() repeatedly
when adding a large number of individual addresses, as the addresses
are inserted under a single internal lock acquisition.