1.3 KiB
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
name
• name: string
The name of the operator
Defined in
startTime
• Optional startTime: Date
The date and time the operator first sent a command
Example
startTime = new Date('<date of first command>');