Skip to main content
Configuration interface for RandomCannedTextNode creation. Extends: AbstractNodeProps

Interface Definition

interface RandomCannedTextNodeProps {
    cannedPhrases: string[];
    id?: string;
    reportToClient?: boolean;
}

Properties

cannedPhrases

cannedPhrases: string[]
List of phrases to randomly select from. Remarks: One phrase will be picked uniformly at random for each invocation.

id (optional)

id?: string
Optional explicit node identifier. Remarks: If omitted, a stable auto-generated ID based on the class name is assigned. Inherited from: AbstractNodeProps.id

reportToClient (optional)

reportToClient?: boolean
Whether this node should report its outputs to the client. If set to true, you will see the output of this node in the GraphOutputStream. Inherited from: AbstractNodeProps.reportToClient