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() netС версии. 1.0.0-beta
Эффекты
net
Определено в: std/test/test.oxl:81