diff options
author | Arun Isaac | 2024-09-23 23:43:33 +0100 |
---|---|---|
committer | Arun Isaac | 2024-10-01 01:12:45 +0100 |
commit | 39b46001f4984f3ab8cf30a974cd8744ef9dfc73 (patch) | |
tree | 40787b81ad8395bfab0e3e8a12a49b1373efce55 /bin | |
parent | 6046feaf5dbe04ac73788c4c72cc24c7de94817c (diff) | |
download | ravanan-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