Skip to content

Conversation

@eigen-value
Copy link
Collaborator

This PR addresses a thread related concern: concurrent calls to .result

Besides it introduces a change in the API that breaks backwards compatibility, but improves readability:

// no longer
// RpcResult async_res = Bridge.call("metod", param);
// async_res.result(res);

// after this PR
RpcCall async_call = Bridge.call("metod", param);
async_call.result(res);

fix: RpcCall.result needs thread protected single execution
@eigen-value eigen-value requested a review from facchinm October 30, 2025 07:56
@eigen-value eigen-value linked an issue Oct 30, 2025 that may be closed by this pull request
@per1234 per1234 added the enhancement New feature or request label Oct 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

RpcResult improvements

3 participants