Delphi How To Understand DelphiVCL.Application.EndInvoke

FireWind

Свой
Регистрация
2 Дек 2005
Сообщения
1,957
Реакции
1,199
Credits
4,009
How To Understand DelphiVCL.Application.EndInvoke
By Muhammad Azizul Hakim July 13, 2021

Use the EndInvoke property or DelphiVCL.Application.EndInvoke to block the caller until the specified ASyncResult completes.

Returns the result from the method that BeginInvoke asynchronously executes. This result is immediately returned after the given IAsyncResult finishes.

EndInvoke raises any exception that may occur while the asynchronous method executes.

Let’s browse all the properties, methods, and built-in properties of the DelphiVCL.Application.EndInvoke using dir() command:
Python:
import DelphiVCL
 
dir(DelphiVCL.Application.EndInvoke)
See the responses in our Windows command prompt:
1626256652738.png
You can also read short information about the DelphiVCL.Application.EndInvoke using the print() command:
Python:
print(DelphiVCL.Application.EndInvoke)
print(DelphiVCL.Application.EndInvoke.__doc__)
See the responses in our Windows command prompt:
1626256693042.png