method net.dropConnections
Breaks every client connection of this process (the sockets are shut down). A call in flight fails with Unavailable; a
@resumable stream reconnects with its last offset (§10.3); the next call opens a new connection.
Example:
use std.test { net }
test "dropped connections reconnect" {
net.dropConnections()
}pub(api) static fn dropConnections() netSince. 1.0.0-beta
Effects
net
Defined in: std/test/test.oxl:81