Skip to content

Runtime / server: createScopedI18nRunner

Functions, types, and exports for Runtime / server: createScopedI18nRunner.

Page outline

Resolves request i18n and runs adapter dispatch in its shared server scope.

Framework packages supply their own public wrapper and curated resolver failure text, while this function owns the identical resolution and async scope lifecycle.

import { createScopedI18nRunner } from "@palamedes/runtime/server"

createScopedI18nRunner<T extends I18nInstance = I18nInstance>(resolveI18n: ServerI18nResolver<T>, options: CreateScopedI18nRunnerOptions): ScopedI18nRunner<T>

Parameters

NameTypeRequired
resolveI18nServerI18nResolver<T>Yes
optionsCreateScopedI18nRunnerOptionsYes

Returns

ScopedI18nRunner<T>

Source entry on GitHub

Last updated: November 1, 2026