Http module

wait

procedureextensionexperimentalSource

Blocks the calling fiber until the server has stopped and its connections are gone. The Server itself stays valid (its fibers may still be winding down) and costs a few hundred bytes; nothing needs it afterwards.

wait :: (server: *Server)

Parameters

server: *Server

See also