TypeLib Xojo support Plugin

Task.RunAsync Method

Runs the task asynchronously.

RunAsync(
   onComplete as EinhugurRuntime.Task.TaskCompletedDelegate)

Parameters

onComplete
Address of Delegate method to receive callback when the Task is completed, or nil if no callback is wanted.

Remarks

When running asynchronously you can either get callback when task is completed or run do event loop to check if it finishes.

If using DoEvents loop then use the AsyncCompleted property to know when task is finished.

See Also

Task Class