Open morxa opened 5 years ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
@morxa, can you please make some suggestions how to proceed here and improve the situation.
One idea is to introduce a new concept, let's call it a promise, with the following properties:
With promises, we would only mark a sensed effect as pending if we need to wait for it before we let the action finalize. Otherwise, it would be a promise. This means we could actually get rid of the nowait
flag, and replace all sensed nowait effects with promises.
These are just brainstorming ideas. Let me know what you think.
Maybe @Sagre, @TarikViehmann, and @MostafaGomaa also want to comment.
Since commit f486472151e334d8813b812c448b86b3dfb7ef98, we also add a
pending-sensed-fact
for actions that do not wait for the effect to occur. This can be used to react properly if the effect does not ever occur as expected. One possible scenario:READY-AT-OUTPUT
.However, as it currently stands, if the effect does not occur, there are at least two problems:
This needs improvement, as pointed out in #12.