Last active
August 29, 2015 14:27
-
-
Save devyn/d2b69e8c264ef7639f10 to your computer and use it in GitHub Desktop.
Kit shell pseudocode
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 > logger = !LogInput | |
[3414] logger | |
2 > logger.send({key: "value"}) | |
logger: Received {key: "value"} from 2929 | |
3 > !Echo | |
Error: Must assign spawned process to variable | |
4 > echo = !Echo | |
5 > echo.send(1234) | |
6 > echo.recv() | |
1234 | |
7 > echo.send(1234); variable = echo.recv() | |
1234 | |
9 > variable | |
1234 | |
10 > echo.send(4567); | |
11 > logger.send(echo.recv()); | |
logger: Received {key: "value"} | |
12 > logger.kill(); | |
[-] logger |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment