Preparing for an Asynchronous Method Call
The asynchronous method call is initiated by using a JadeMethodContext instance. The first step is to create such an instance and initialize it in readiness for invoking the asynchronous method call.
The following code fragment shows a transient instance of
vars
context : JadeMethodContext;
begin
// Create the JadeMethodContext instance
create context transient;
// Mandatory - to name the worker application that will be used
context.workerAppName := "Server";
// Optional - to distinguish between multiple context objects
context.tag := 7;
...
