Code0 LogoCodeZero

@DisplayMessage

Sets the summary text shown in the flow UI

Sets the summary text shown inside the node in the flow UI. Accepts multiple translations.

import { DisplayMessage } from '@code0-tech/hercules';

Signature

@DisplayMessage(...translations: Translation[]): ClassDecorator

Example

@DisplayMessage(
  { code: 'en-US', content: 'Computes the n-th Fibonacci number' },
)
export class FibonacciFunction extends FibonacciRuntimeFunction {}

Applies to

Function, RuntimeFunction, Event, RuntimeEvent

On this page