Type alias FastifyPluginAsync<Options, Server, TypeProvider, Logger>

FastifyPluginAsync<Options, Server, TypeProvider, Logger>: ((instance, opts) => Promise<void>)

FastifyPluginAsync

Fastify allows the user to extend its functionalities with plugins. A plugin can be a set of routes, a server decorator or whatever. To activate plugins, use the fastify.register() method.

Type Parameters

Type declaration