Endpoints and Interaction
Background
For a web UI, we want:
- A way to invoke
*Cmd
s -- invoke and return an ID. - Command invocation request is idempotent / does not initiate another invocation when one is in progress.
- A way to interrupt
CmdExecution
s -- get theSender<InterruptSignal>
by execution ID, send. - A way to pull progress from the client -- close / reopen tab, send URL to another person.
- A way to push progress to the client -- for efficiency. web sockets?
- For both a local and shared server, a way to open a particular env/
Flow
/CmdExecution
by default. - For a shared server, a way to list
CmdExecution
s. - For a local server, to automatically use different ports when running executions in different projects.
Glossary
Term | Definition |
---|---|
Web | Refers to server side execution, not client side WASM. |