Skip to content

Add asynchronous kernel execution API#230

Open
sjm526 wants to merge 1 commit into
Syncleus:masterfrom
sjm526:master
Open

Add asynchronous kernel execution API#230
sjm526 wants to merge 1 commit into
Syncleus:masterfrom
sjm526:master

Conversation

@sjm526

@sjm526 sjm526 commented Jun 14, 2026

Copy link
Copy Markdown

Adds a public Execution handle and Kernel.executeAsync(...) overloads matching the existing synchronous execute methods.

The async API starts kernel execution on a background thread and returns immediately. Callers can use Execution.waitUntilFinished() to wait for completion; runtime failures
are rethrown from that wait call.

Tests cover:

  • async execution returns before the kernel completes
  • waiting exposes completed results
  • kernel runtime exceptions are propagated by waitUntilFinished()

Closes #41

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BOUNTY $50] Support for asynchronously running a kernel

1 participant