Skip to content

Conversation

@csegarragonz
Copy link
Collaborator

@csegarragonz csegarragonz commented May 2, 2023

In this PR I refactor the signature of the getMessageResult function in the scheduler to take a const Message&. This makes the signature symmetric to setFunctionResult.

All the changes are mostly straightforward, with the expection of chained functions. We neeed to support waiting for chained functions by their id (as specified in libfaasm for WASM code), so we keep track of the chained messages in the executor.

Right now, this does not add any functionality but, once the planner PRs land, it will allow to do things like wait for all messages in a batch request (i.e. implementing a get/set Batch result).

@csegarragonz csegarragonz changed the title Rfactor getMessageResult signature Refactor getMessageResult signature May 2, 2023
@csegarragonz csegarragonz mentioned this pull request May 2, 2023
45 tasks
@csegarragonz csegarragonz merged commit 19330b8 into main May 2, 2023
@csegarragonz csegarragonz deleted the set-get-message-result branch May 2, 2023 17:27
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