Files
Thomas Leonard 64d3b0ed9d Update README to use MDX
All the example code is now in the repository, making it easy to people
to look at the solutions if they get stuck, and allowing the tutorial to
be tested automatically.

The tutorial was also too long; it has now been split into two parts.
2022-07-12 09:57:43 +01:00

12 lines
235 B
Cap'n Proto

@0xb287252b6cbed46e;
interface Callback {
log @0 (msg :Text) -> ();
}
interface Echo {
ping @0 (msg :Text) -> (reply :Text);
heartbeat @1 (msg :Text, callback :Callback) -> ();
getLogger @2 () -> (callback :Callback);
}