Skip to content

Latest commit

 

History

History
19 lines (11 loc) · 694 Bytes

TPJCustomConsoleApp-DoWork.md

File metadata and controls

19 lines (11 loc) · 694 Bytes

DoWork method

Project: Console Application Runner Classes

Unit: PJConsoleApp

Classes: TPJCustomConsoleApp, TPJConsoleApp

Applies to: ~>3.0

procedure DoWork; virtual;

Description

This virtual protected method triggers the OnWork event. Descendants can override to perform specific actions without triggering the event. If the event is still required inherited can be called from within the overridden method.

The method would usually be implemented to perform any required actions at the end of each of the console application's time slices.