Deno.ServeOptions.onListen - Deno documentation
property Deno.ServeOptions.onListen

The callback which is called when the server starts listening.

Type

(localAddr: Deno.NetAddr) => void