daml/compiler/scenario-service
nickchapman-da 53b24793f4
Simplify and clarify the public interface to Speedy. (#5881)
* Simplify and clarify the public interface to Speedy.

- Remove `isFinal`. A client just uses `run()`.
- Remove `toSValue`. The value in available in `SResultFinalValue(v: SValue)`.
- A client never directly access the `.ctrl` (or `.returnValue`) components.
- A client may use `setExpressionToEvaluate(expr)` to evaluate a new expression on an existing machine.

changelog_begin
changelog_end

* remove while loop which executes just once

* avoid unnecessary mutation when running speedy
2020-05-07 08:55:16 +00:00
..
client Scenario Service: drop support of submitter is in maintainers check (#5609) 2020-04-17 16:09:41 +02:00
protos Scenario Service: drop support of submitter is in maintainers check (#5609) 2020-04-17 16:09:41 +02:00
server Simplify and clarify the public interface to Speedy. (#5881) 2020-05-07 08:55:16 +00:00