Skip to content
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

RPC over events #4414

Draft
wants to merge 12 commits into
base: main
Choose a base branch
from
Draft

RPC over events #4414

wants to merge 12 commits into from

Conversation

jackgerrits
Copy link
Member

No description provided.

# TODO add "-" to topic and agent type allowed characters in spec
closure_agent_type = f"rpc_receiver_{recipient.type}_{rpc_request_id}"

future: asyncio.Future[Any] = asyncio.Future()
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

todo save future to self

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

test file.

type=closure_agent_type,
closure=set_result,
forward_unbound_rpc_responses_to_handler=True,
)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can't get over it. I think this particular ClosureAgent should be transient and removes itself quickly once this function scope is cleared.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

100% agree, it should be removed immediately. We just need to implement agent removal

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.

3 participants