Message responses using regular lunatic processes.
Regular lunatic processes don't typically support sending responses in messages.
This library provides a type MessageRequest which adds support for replying back with a value.
Example
use spawn_link;
use ;
use ;
let counter = spawn_link!;
// Initial count should be 0
let count = counter.request;
assert_eq!;
// Increment count
counter.send;
// Count should now be 1
let count = counter.request;
assert_eq!;
License
Licensed under either
at your option.