#channel #tokio #multi-threading #safe-calls

phonecall

A tiny easy to use helper that makes function calls through threads/ tasks easier with tokio channels

3 unstable releases

0.2.1 Feb 4, 2023
0.2.0 Feb 4, 2023
0.1.0 Jan 31, 2023

#1238 in Concurrency

MIT license

18KB
408 lines

Phonecall

A small tokio based library that makes async function calls through tasks and threads safe and simple.

On crates.io

How to use

A simple example is available in the examples directory.


lib.rs:

A tiny easy to use helper that makes function calls through threads/ tasks easier with tokio channels For an example check cargo run --example simple at examples/simple.rs

Dependencies

~2.9–9MB
~80K SLoC