Browse Source

Fix: actually send input to runtime instead of dropping future

tags/v0.2.0-candidate
Philipp Oppermann 3 years ago
parent
commit
0d1bbc8eb5
Failed to extract signature
1 changed files with 7 additions and 5 deletions
  1. +7
    -5
      binaries/runtime/src/lib.rs

+ 7
- 5
binaries/runtime/src/lib.rs View File

@@ -199,11 +199,13 @@ async fn run(
continue;
};

let _ = operator_channel.send(operator::IncomingEvent::Input {
input_id,
metadata,
data,
});
operator_channel
.send(operator::IncomingEvent::Input {
input_id,
metadata,
data,
})
.await?;
}
Event::InputClosed(_) => {}
Event::Error(err) => eyre::bail!("received error event: {err}"),


Loading…
Cancel
Save