Home / Type/ onRegisterHookHandler Type — fastify Architecture

onRegisterHookHandler Type — fastify Architecture

Architecture documentation for the onRegisterHookHandler type/interface in hooks.d.ts from the fastify codebase.

Entity Profile

Dependency Diagram

graph TD
  adf5490a_aa33_735d_c88f_f7b05f3e24c8["onRegisterHookHandler"]
  f0d1ac66_cb60_3d2a_ebcc_1faa11c21aad["hooks.d.ts"]
  adf5490a_aa33_735d_c88f_f7b05f3e24c8 -->|defined in| f0d1ac66_cb60_3d2a_ebcc_1faa11c21aad
  style adf5490a_aa33_735d_c88f_f7b05f3e24c8 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

types/hooks.d.ts lines 704–717

export interface onRegisterHookHandler<
  RawServer extends RawServerBase = RawServerDefault,
  RawRequest extends RawRequestDefaultExpression<RawServer> = RawRequestDefaultExpression<RawServer>,
  RawReply extends RawReplyDefaultExpression<RawServer> = RawReplyDefaultExpression<RawServer>,
  Logger extends FastifyBaseLogger = FastifyBaseLogger,
  TypeProvider extends FastifyTypeProvider = FastifyTypeProviderDefault,
  Options extends FastifyPluginOptions = FastifyPluginOptions
> {
  (
    this: FastifyInstance<RawServer, RawRequest, RawReply, Logger, TypeProvider>,
    instance: FastifyInstance<RawServer, RawRequest, RawReply, Logger, TypeProvider>,
    opts: RegisterOptions & Options
  ): Promise<unknown> | void;
}

Defined In

Frequently Asked Questions

What is the onRegisterHookHandler type?
onRegisterHookHandler is a type/interface in the fastify codebase, defined in types/hooks.d.ts.
Where is onRegisterHookHandler defined?
onRegisterHookHandler is defined in types/hooks.d.ts at line 704.

Analyze Your Own Codebase

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

Try Supermodel Free