Skip to content

Add actor closure implementation on Java #17

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

kol-oss
Copy link

@kol-oss kol-oss commented Jun 18, 2025

  • Rewrite JavaScript global function with closure (createActor) as Java static factory method (ActorClosureFactory.createActor);
  • Implement object instantiation and method calls via Java Reflection API;
  • Create Actor interface to represent return result with functions send and process;
  • Create Operation record to represent set of params to call specified method and pass the result;
  • Replace JavaScript Promises with Java CompletableFutures.

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.

1 participant