Event emitters and io streams inspired by nodejs.
emitter <- EventEmitter$new()
emitter$on("foo", function() {
print("bar")
})
emitter$emit("foo")
#> "bar"
stream <- create_read_stream("foo.bar")
stream$on("data", function(x) {
print(x)
})
#> etc
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.