Skip to content

Instantly share code, notes, and snippets.

@rssh
Created September 16, 2014 07:36
Show Gist options
  • Save rssh/a559710f485fa6fab465 to your computer and use it in GitHub Desktop.
Save rssh/a559710f485fa6fab465 to your computer and use it in GitHub Desktop.
jdv_article15 (SAM illustrations, scala)
trait AsyncInputOutput[T]
{
def onReceive(f: T => Unit): Unit
def onSend(f: Unit => T): Unit
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment