跳到內容

offer

本頁內容尚未翻譯。

function offer<R>(
name: string,
bindings: readonly Binding<R>[],
): Effect<
Controller<R>,
ProjectionConflict | ProjectionError,
Scope | Graft | Exclude<R, RequestServices>
>

Defined in: Projection.ts:379

Registers one dynamic contributor; revisions share its call owner and do not interrupt old calls.

Type Parameter
R
Parameter Type
name string
bindings readonly Binding<R>[]

Effect<Controller<R>, | ProjectionConflict | ProjectionError, | Scope | Graft | Exclude<R, RequestServices>>