-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
apiInvolves a change to the APIInvolves a change to the APIcomplexPotentially requires a lot of workPotentially requires a lot of workenhancementNew feature or requestNew feature or request
Milestone
Description
Feature Request: Support batching and/or scripting
Brief Summary of Request
Instead of calling remote functions in sequence, it is sometimes beneficial to have the server run several functions before returning the final result.
What Is The Value Added With This Feature
Provide a commonly helpful feature that can reduce latency and traffic required to compute something remotely if it requires multiple steps.
Possible Implementation
Provide some way for the client to specify multiple functions to be executed and how the results and/or parameters of those functions are related to each other.
This way the server could evaluate each function call in turn and only returns a value when the sequence is complete.
Desired Outcome
int final_result = client.batch_call<int>("func_last", result_of("func_2nd", result_of("func_1st", a, b), c, d));
Metadata
Metadata
Assignees
Labels
apiInvolves a change to the APIInvolves a change to the APIcomplexPotentially requires a lot of workPotentially requires a lot of workenhancementNew feature or requestNew feature or request