aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorArun Isaac2024-09-23 23:43:33 +0100
committerArun Isaac2024-10-01 01:12:45 +0100
commit39b46001f4984f3ab8cf30a974cd8744ef9dfc73 (patch)
tree40787b81ad8395bfab0e3e8a12a49b1373efce55 /bin
parent6046feaf5dbe04ac73788c4c72cc24c7de94817c (diff)
downloadravanan-39b46001f4984f3ab8cf30a974cd8744ef9dfc73.tar.gz
ravanan-39b46001f4984f3ab8cf30a974cd8744ef9dfc73.tar.lz
ravanan-39b46001f4984f3ab8cf30a974cd8744ef9dfc73.zip
propnet: Present a polling interface to callers.
(ravanan propnet) now presents a polling interface to the outside world. Instead of computing the entire propagator network in one function call, it needs to be polled repeatedly until it is done. Hence, the polling logic (such as the polling interval) needs to be outside (ravanan propnet). * ravanan/propnet.scm (<scheduler>)[poll-interval]: Delete field. (<propnet-state>): New record type. (schedule-propnet, capture-propnet-output): New public functions. (run-propnet): Rename to poll-propnet; return status and state values instead of fulling computing the propnet. * ravanan/command-line-tool.scm (%job-poll-interval): Move to (ravanan workflow). (command-line-tool-scheduler): Do not initialize poll-interval in scheduler. * ravanan/workflow.scm: Import (srfi srfi-71). (run-workflow): Use the new polling interface to the propnet.
Diffstat (limited to 'bin')
0 files changed, 0 insertions, 0 deletions