Mdestroy
Bun

method

quic.QuicEndpoint.destroy

error?: any
): void;

Forcefully closes the endpoint by forcing all open sessions to be immediately closed.