1
0
forked from ROMEO/nexosim

8 Commits

Author SHA1 Message Date
Serge Barral
0f1d876aed Return both simulation and scheduler at init 2024-11-15 16:52:24 +01:00
Serge Barral
f4686af49a Finalize the Context and BuildContext API
The API style is now more uniform: both are passed by mutable ref, and
only expose accessors. Additionally, the methods that were initially
accessed through the scheduler field are now directly implemented on
`Context`.
2024-11-15 16:12:07 +01:00
Serge Barral
b5aea810ae Merge step_by and step_until into a unique method
Now that `step_by` returns an error anyway (it was unfaillible before),
there is no more incentive to keep it as a separate method.
The `step_until` method now accepts an `impl Deadline`, which covers
both cases (`Duration` and `MonotonicTime`).
2024-11-14 17:01:33 +01:00
Jaŭhien Piatlicki
f7d3e48a1f Remove docstring 2024-11-14 00:01:55 +01:00
Jaŭhien Piatlicki
1a0dff0f6e Document observable states 2024-11-13 23:59:50 +01:00
Jaŭhien Piatlicki
0732a7ef54 Changes after review 2024-10-31 15:59:35 +01:00
Jaŭhien Piatlicki
087f3c84cc Add README to asynchronix-util 2024-10-31 14:57:41 +01:00
Jaŭhien Piatlicki
634614a2a1 Add observable states utility 2024-10-31 14:43:30 +01:00