The fastify.listen block, for listen().
fastify.listen
listen()
It reads what is loaded and loads nothing: it is called once the app exists, and by then serverOptions() or the plugin has loaded.
serverOptions()
a fresh, mutable object; empty when there is no such block
before anything is loaded
await app.listen(listenOptions()); Copy
await app.listen(listenOptions());
The
fastify.listenblock, forlisten().It reads what is loaded and loads nothing: it is called once the app exists, and by then
serverOptions()or the plugin has loaded.