Created
October 19, 2018 11:48
-
-
Save koen-dejonghe/55fed913a79fcd2aa4dd1a0710aa5f8e to your computer and use it in GitHub Desktop.
This file contains hidden or 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
def startPoint(batch: (Variable, Variable)): Receive = { | |
case msg @ (Start | _: Backward) => | |
if (msg == Start) { // new epoch | |
... | |
} | |
val (x, y) = batch | |
wire.next ! Forward(x) | |
context become endPoint(y) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment