Base class for example selectors.

Hierarchy

Constructors

Methods

  • Adds an example to the example selector.

    Parameters

    • example: Example

      The example to add to the example selector.

    Returns Promise<string | void>

    A Promise that resolves to void or a string.

  • Selects examples from the example selector given the input variables.

    Parameters

    • input_variables: Example

      The input variables to select examples with.

    Returns Promise<Example[]>

    A Promise that resolves to an array of selected examples.

Generated using TypeDoc