login about faq

After looking at a number of the new async methods available, it appears that one is always obliged to poll to determine when the async task is complete.

It would seem much more useful and natural if a callback could be provided when the task is done—am I missing something? I am specifically interested in the Python library.

asked Sep 02 '15 at 22:26

chilkat's gravatar image

chilkat ♦♦

The issue is whether or not event callbacks are supported for the language. For C#, C++, VB.NET, Objective-C, most ActiveX cases (Delphi, VB6, Foxpro, etc.), and most recently Java, the answer is Yes. When the background task completes, the TaskCompleted callback is called. Unfortunately, for Python, Chilkat hasn't yet worked it out (and I'm not sure what's possible). The Chilkat libs are written in C++, and that means a call from C++ back into Python.


answered Sep 02 '15 at 22:27

chilkat's gravatar image

chilkat ♦♦

edited Sep 02 '15 at 22:28

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: Sep 02 '15 at 22:26

Seen: 553 times

Last updated: Sep 02 '15 at 22:28

powered by OSQA