• Preparing search index...
  • The search index is not available
Solana JavaScript SDK
  • Solana JavaScript SDK
  • @solana/rpc
  • <internal>
  • Dispatcher
  • DispatchInterceptor

Interface DispatchInterceptor

  • DispatchInterceptor(
        dispatch: (
            options: Dispatcher.DispatchOptions,
            handler: Dispatcher.DispatchHandler,
        ) => boolean,
    ): (
        options: Dispatcher.DispatchOptions,
        handler: Dispatcher.DispatchHandler,
    ) => boolean
  • Parameters

    • dispatch: (
          options: Dispatcher.DispatchOptions,
          handler: Dispatcher.DispatchHandler,
      ) => boolean
        • (
              options: Dispatcher.DispatchOptions,
              handler: Dispatcher.DispatchHandler,
          ): boolean
        • Dispatches a request. This API is expected to evolve through semver-major versions and is less stable than the preceding higher level APIs. It is primarily intended for library developers who implement higher level APIs on top of this.

          Parameters

          • options: Dispatcher.DispatchOptions
          • handler: Dispatcher.DispatchHandler

          Returns boolean

    Returns (
        options: Dispatcher.DispatchOptions,
        handler: Dispatcher.DispatchHandler,
    ) => boolean

      • (
            options: Dispatcher.DispatchOptions,
            handler: Dispatcher.DispatchHandler,
        ): boolean
      • Dispatches a request. This API is expected to evolve through semver-major versions and is less stable than the preceding higher level APIs. It is primarily intended for library developers who implement higher level APIs on top of this.

        Parameters

        • options: Dispatcher.DispatchOptions
        • handler: Dispatcher.DispatchHandler

        Returns boolean

    • Defined in node_modules/.pnpm/undici-types@7.1.0/node_modules/undici-types/dispatcher.d.ts:277

Settings

Member Visibility
Solana JavaScript SDK
  • Loading...

Generated using TypeDoc