IO Wallet SDK
    Preparing search index...

    Function createVersionDispatcher

    • Creates a version-aware dispatcher that routes a function call based on options.config.itWalletSpecsVersion.

      All versions declared in ItWalletSpecsVersion must be provided (Required contract). Adding a new spec version therefore requires updating every createVersionDispatcher call site. This is an intentional trade-off: compile-time exhaustiveness is preferred over sparse-map flexibility.

      Type Parameters

      Parameters

      Returns (options: TOptions) => TResult

      Dispatcher function that invokes the handler for options.config.itWalletSpecsVersion.

      If no handler is registered for the configured version.