Skip to content

Interface: BridgeEffectOptions

Defined in: bridge-effect.ts:37

Properties

description?

optional description?: string

Defined in: bridge-effect.ts:47

Lifted from the leading doc comment by the aiui compiler.


loc?

optional loc?: string

Defined in: bridge-effect.ts:45

Definition site "file:line"; injected by the aiui compiler.


name?

optional name?: string

Defined in: bridge-effect.ts:40

Stable identity for the registry and the report (see cell()'s naming contract). Bridges are usually bare statements, so write it explicitly.


onError?

optional onError?: (error) => void

Defined in: bridge-effect.ts:49

Optional extra hook, called after a failure is recorded.

Parameters

error

unknown

Returns

void


scope?

optional scope?: Scope

Defined in: bridge-effect.ts:43

Instance qualifier for slice factories — the registered name becomes <scope>/<name>.