Welcome to the new DelphiDabbler Code Library Documentation.

This is a new site that's currently running on alpha code. There are going to be bugs. If you discover any, please report them on the site's issues page (GitHub account required). Thanks.

Warning: Many URLs are going to change. Refer to the README file to discover which library project's documentation has been completed.

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.