iasync_result

September 14, 2025 ยท View on GitHub

Shows how to use xtd:: iasync_result interface.

Sources

  • src/iasync_result.cpp
  • CMakeLists.txt

Build and run

Open "Command Prompt" or "Terminal". Navigate to the folder that contains the project and type the following:

xtdc run

Output

Main thread 1 does some work.
Test method begins.
The call executed on thread 3, with return value "My call time was 3000.".

Contents

  1. 1Sources
  2. 2Build and run
  3. 3Output