output
    Preparing search index...

    Function emit

    • Emit a custom event from the current activity.

      Parameters

      • eventName: string

        The name of the event to emit.

      • Optionalpayload: unknown

        Optional value forwarded to on() handlers.

      Returns boolean