Skip to content

Instantly share code, notes, and snippets.

@staltz
staltz / introrx.md
Last active October 26, 2025 03:06
The introduction to Reactive Programming you've been missing
import scala.actors._
import scala.actors.Actor._
val helloActor = actor {
receive {
case nextActor : Actor => {
println("Hello Actor linked to " + nextActor)
while(true) {
receive {
case message : String => {