Hello,
I am developing wint Delphi 12.1 Patch 1 and IW 15.6.3.
In an OnClick event of a button I need to execute two different procedures.
The first one save some data to a DB (quick, no problem), the second one call a web service which introduce some delay in response and update of the page.
The procedure is invoked inside a runtime created data module.
Is it possible to use TTask from PPL to execute the web service call asynchronously?
It will be ok to use PPL inside the thread where the data module is executed (considering the multi thread architecture of IW)?
Thank you,
Davide
I am developing wint Delphi 12.1 Patch 1 and IW 15.6.3.
In an OnClick event of a button I need to execute two different procedures.
The first one save some data to a DB (quick, no problem), the second one call a web service which introduce some delay in response and update of the page.
The procedure is invoked inside a runtime created data module.
Is it possible to use TTask from PPL to execute the web service call asynchronously?
It will be ok to use PPL inside the thread where the data module is executed (considering the multi thread architecture of IW)?
Thank you,
Davide