constructor()

in src/history/ExecutionStartedEvent.ts [10:25]


    constructor(options: HistoryEventOptions) {
        super(
            HistoryEventType.ExecutionStarted,
            options.eventId,
            options.isPlayed,
            options.timestamp
        );

        if (options.name === undefined) {
            throw new Error("ExecutionStartedEvent needs a name provided.");
        } else {
            this.Name = options.name;
        }

        this.Input = options.input;
    }