Crate diath

source · []

Modules

Utility for enquiry between 2 threads. This means that one thread starts the communication by sending data to the other one (ask a question) and the other thread sending data back (answering the question). Under the hood enquiry uses two tokio channels, first an mpsc for asking the question (so that multiple questions can be asked) and second a oneshot for answering (as only one answer per question is allowed) This is intended to be a two way async communication.