feat: Make nixops4-eval async

A step toward handling the arrival of new data (stdin) with priority
over commands, avoiding roundtrips and re-evaluations.

(cherry picked from commit 8a2a5197886025caf35653001f76a4b209d8c9e4)
This commit is contained in:
Robert Hensing 2024-10-02 14:50:47 +02:00
parent 6f358cc1fb
commit b714f46e07
3 changed files with 213 additions and 0 deletions

View file

@ -53,6 +53,7 @@ impl ValueType {
pub struct Value {
inner: NonNull<raw::Value>,
}
unsafe impl Send for Value {}
impl Value {
/// Take ownership of a new Value.
///