The TResumer component is a tool for deferred activation of desired action. It is a nonvisual component capable of activating procedures after all previously occurred events are processed. In particular, this may be used for synchronization with some Windows functions or other procedures executed in parallel with application. Actually, similar function can be accomplished using TTimer component, but with TResumer component the event giving you a possibility to resume desired processing occurs at once without any artificial interval.
Another component - TDispatcher - provides more general form of indirect call permitting multiple indirect calls, direct control on call queue (i.e. permits revoking and reordering of these calls) and passing objects as parameters. Using the TDispatcher component one can implement more general form of coroutine mechanism then with TResumer component.
This component is freeware, you may use it for both non-commercial and
commercial purposes free of charge.
Registration:
By registering you will be entitled to receive complete source code
by e-mail.
In order to register, send a e-mail specifying your name and e-mail address.
Author: Elena Lisenenkova