#Deno.serve() Connection closed event?

3 messages · Page 1 of 1 (latest)

zenith bay
#

Where can I listen for the end of the connection?

It looks like the older way was to do this:

eq.done.then(() => {
      file.close()
    })

but I don't see an equivalent way of doing things with Deno.serve

zenith bay
knotty relic