Skip to content

Flow documentation · legacy product

Asynchronous execution ​

The asynchronous functions will return immediately, prior to the Action completing execution in FlowAPI. Use this when you want other tasks to be able to be performed in your application while the Flow Action completes.

These functions require you to pass in a "call back" procedure defined as TExecuteCallBackEvent in the DLL interfaces. When FlowAPI completes the execution of the action it calls your "call back" procedure. This allows you to perform further processing in your application based on the completion of the Action within FlowAPI. You must define a procedure within your application that matches the definition of TExecuteCallBackEvent, then pass a pointer to this procedure as a parameter to the Asynchronous functions.