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

Add serialisation for remote call Future objects #74

Merged

Conversation

sschlenkrich
Copy link
Member

This PR adds functionality to serialise and de-serialise Future objects from remote calls.

The implemented approach requires the underlying result of the Future object to be calculated. That is, we invoke fetch before serialising and de-serialising any Furure objects.

This functionality is intended to allow asyncronous creation of objects via computationally expensive calculations. Typical intended use cases are Monte-Carlo simulations and scenario generation.

@sschlenkrich sschlenkrich merged commit 0b66a4e into frame-consulting:main Mar 28, 2024
4 checks passed
@sschlenkrich sschlenkrich deleted the wip/serialise-future branch March 28, 2024 19:57
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.

2 participants