Skip to content
Permalink
Browse files

add uuid to Cargo.toml file in devtools

  • Loading branch information...
codehag committed May 7, 2019
1 parent 51f7881 commit 0ff2dd8feba24dc6baf34a89358a59475344256f
Showing with 3 additions and 2 deletions.
  1. +1 −0 Cargo.lock
  2. +1 −0 components/devtools/Cargo.toml
  3. +1 −2 components/devtools/actors/console.rs

Some generated files are not rendered by default. Learn more.

@@ -24,3 +24,4 @@ msg = {path = "../msg"}
serde = "1.0"
serde_json = "1.0"
time = "0.1"
uuid = {version = "0.7", features = ["v4"]}
@@ -297,11 +297,10 @@ impl Actor for ConsoleActor {
},

"evaluateJSAsync" => {
//TODO: use a timestamp for resultID
let resultID = Uuid::new_v4().to_string();
let early_reply = EvaluateJSAsyncReply {
from: self.name(),
resultID: resultID,
resultID: resultID.clone(),
};
// Emit an eager reply so that the client starts listening
// for an async event with the resultID

0 comments on commit 0ff2dd8

Please sign in to comment.
You can’t perform that action at this time.