elfo 0.2.0-alpha.21

An asynchronous distributed actor framework with robust observability
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use elfo::{msg, Envelope};

// TODO: check more invalid patterns.
fn test(envelope: Envelope) {
    msg!(match envelope {
        foo!() => {}
        "liternal" => {}
        10..20 => {}
        (A | B) => {}
        (SomeRequest, token, extra) => {}
        (SomeRequest, 20) => {}
    });
}

fn main() {}