The example code in README is outdated

#222 · closed · 1 comments

View on GitHub ↗

constlhq

> `let addr = xtra::spawn_tokio(Printer::default(), None);` Type mismatch [E0308] expected `(Address<Printer>, Mailbox<Printer>)`, but found `Option<_>`

Comments

thomaseizinger

Darn, yeah that one is not CI tested. I recommend looking at the actual examples: https://github.com/Restioson/xtra/tree/master/xtra/examples PRs welcome to fix the README! :)