Home / Type/ FastifyPluginAsync Type — fastify Architecture

FastifyPluginAsync Type — fastify Architecture

Architecture documentation for the FastifyPluginAsync type/interface in plugin.d.ts from the fastify codebase.

Entity Profile

Dependency Diagram

graph TD
  28c93ea3_dbca_2cbe_14a5_129a02ead316["FastifyPluginAsync"]
  d7e0d6b7_f402_0b2b_8e73_168514073b2f["plugin.d.ts"]
  28c93ea3_dbca_2cbe_14a5_129a02ead316 -->|defined in| d7e0d6b7_f402_0b2b_8e73_168514073b2f
  style 28c93ea3_dbca_2cbe_14a5_129a02ead316 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

types/plugin.d.ts lines 29–37

export type FastifyPluginAsync<
  Options extends FastifyPluginOptions = Record<never, never>,
  Server extends RawServerBase = RawServerDefault,
  TypeProvider extends FastifyTypeProvider = FastifyTypeProviderDefault,
  Logger extends FastifyBaseLogger = FastifyBaseLogger
> = (
  instance: FastifyInstance<Server, RawRequestDefaultExpression<Server>, RawReplyDefaultExpression<Server>, Logger, TypeProvider>,
  opts: Options
) => Promise<void>

Defined In

Frequently Asked Questions

What is the FastifyPluginAsync type?
FastifyPluginAsync is a type/interface in the fastify codebase, defined in types/plugin.d.ts.
Where is FastifyPluginAsync defined?
FastifyPluginAsync is defined in types/plugin.d.ts at line 29.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free