Skip to content

Commit

Permalink
Add support for asynchronous communication [#41]
Browse files Browse the repository at this point in the history
  • Loading branch information
davidje13 committed Jan 25, 2018
1 parent 8344ab2 commit bbb9350
Show file tree
Hide file tree
Showing 30 changed files with 1,566 additions and 464 deletions.
22 changes: 22 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,28 @@ Foo -> Bar
Bar -> Baz
```

### Asynchronous Communication

<img src="screenshots/AsynchronousCommunication.png" alt="Asynchronous Communication preview" width="200" align="right" />

```
begin Initiator as I, Receiver as R
# the '...id' syntax allows connections to span multiple lines
I -> ...fin1
...fin1 -> R: FIN
# they can even inter-mix!
R -> ...ack1
R -> ...fin2
...ack1 -> I: ACK
...fin2 -> I: FIN
!I -> ...ack2
...ack2 -> !R: ACK
```

### Simultaneous Actions (Beta!)

This is a work-in-progress feature. There are situations where this can
Expand Down
Loading

0 comments on commit bbb9350

Please sign in to comment.