chore(merge) feature/event-system-cleanup (#13)

* feat(event-system) better communication interface

* feat(proton) update main.rs

* test

* Revert "test"

This reverts commit 68daf6eeb7.
This commit is contained in:
Lucas Fernandes Nogueira
2019-07-31 19:04:24 -03:00
committed by GitHub
parent b40bc281d0
commit aa4fef37b4
5 changed files with 59 additions and 61 deletions

View File

@@ -53,10 +53,9 @@ pub enum Cmd {
handler: String,
once: bool,
},
#[cfg(any(feature = "all-api", feature = "answer"))]
Answer {
event_id: String,
#[cfg(any(feature = "all-api", feature = "emit"))]
Emit {
event: String,
payload: String,
salt: String,
},
}