#Deno.serve() Connection closed event?
3 messages · Page 1 of 1 (latest)
workaround based on @crisp dome 's answer
Deno.server returns from Deno.serve() and it contains a finished property that is a Promise. See examples given with the 2nd & 3rd versions of the function: https://deno.land/api@v1.35.0?s=Deno.serve