Type Alias TopicAliasFunction

TopicAliasFunction: (
    args: Immutable<
        {
            globalVariables: Readonly<Record<string, VariableValue>>;
            topics: BaseTopic[];
        },
    >,
) => TopicAlias[]

An AliasFunction takes a list of data source topics and variables and outputs a list of aliased topics.

Type declaration

    • (
          args: Immutable<
              {
                  globalVariables: Readonly<Record<string, VariableValue>>;
                  topics: BaseTopic[];
              },
          >,
      ): TopicAlias[]
    • Parameters

      • args: Immutable<
            {
                globalVariables: Readonly<Record<string, VariableValue>>;
                topics: BaseTopic[];
            },
        >

      Returns TopicAlias[]