Deno.DatagramConn.close - Deno documentation
method Deno.DatagramConn.close
DatagramConn.close(): void

Close closes the socket. Any pending message promises will be rejected with errors.

Return Type

void