What is the thinking behind `Http4kServer::block`...
# http4k
d
What is the thinking behind
Http4kServer::block
? Its default implementation of
Thread.currentThread.join()
feels like it can just never complete. Is it overridden anywhere?
d
Nope... but IIRC some of the server implementations of start() actually block, so it was an attempt to make you able to do start().block() and have the same behaviour.
👍 1