Files
2026-07-13 12:33:44 +08:00

1.3 KiB

@redeye/parser-core / ParserOperator

Interface: ParserOperator

Table of contents

Properties

Properties

endTime

Optional endTime: Date

The date and time the operator last sent a command

Example

// If the operator is still active
endTime = new Date();
// If the operator has never sent a command
endTime = undefined;
// If the operator is no longer active
endTime = new Date('<date of last command>');

Defined in

parser-operator.ts:22


name

name: string

The name of the operator

Defined in

parser-operator.ts:5


startTime

Optional startTime: Date

The date and time the operator first sent a command

Example

startTime = new Date('<date of first command>');

Defined in

parser-operator.ts:11