In this post, we’ll use the EndFunctionInvoke method or DelphiVCL.Application.EndFunctionInvoke to block the caller until the specified ASyncResult completes. Learning how to do it will allow you to easily build GUIs with Python Build Tools.
Returns the result from the method that BeginInvoke asynchronously executes. This result is immediately returned after the given IAsyncResult finishes. The result type corresponds to a TObject class type.
EndFunctionInvoke 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.EndFunctionInvoke using dir() command:
1 2 3 |
import DelphiVCL dir(DelphiVCL.Application.EndFunctionInvoke) |
See the responses in our Windows command prompt:
You can also read short information about the DelphiVCL.Application.EndFunctionInvoke using the print() command:
1 2 |
print(DelphiVCL.Application.EndFunctionInvoke) print(DelphiVCL.Application.EndFunctionInvoke.__doc__) |
See the responses in our Windows command prompt:
Check out DelphiVCL which easily allows you to build GUIs for Windows using Python.