Function createEvent

  • Constructs a pretty formatted event with given key and arguments.

    Remarks

    The result is meant to be used with the generateEvent function. It is useful to generate events from an array.

    Returns

    the stringified event.

    Parameters

    • key: string

      the string event key.

    • args: string[]

      the string array arguments.

    Returns string

Generated using TypeDoc