@threadplane/chatFunctionv0.3.4

emitBinding

Writes a typed value to the render state store if the prop has a binding path.

import { emitBinding } from '@threadplane/chat';

Declaration · overload 1

export declare function emitBinding(host: RenderHost, bindings: Record<string, string> | undefined, prop: string, value: unknown): void;

Parameters

host · required
RenderHost
bindings · required
Record<string, string> | undefined
prop · required
string
value · required
unknown

Returns

void