Source core for my presentation on core.async at the Sydney Clojure User Group, July 2013
JavaScript Other
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
resources/public
src-cljs
src
test/core_async_intro/test
.gitignore
Procfile
README.md
project.clj

README.md

core-async-intro

This is the source code used for my presentation Intro to core.async for the Sydney Clojure User Group, July 2013

Prerequisites

You will need Leiningen 2.0 or above installed.

Running

First, compile all clojurescript:

lein cljsbuild once

or

lein cljsbuild auto

Then, start the web server:

lein ring server

And navigate to http://localhost:3000/

Files you'll be interested in

Routes

cljsexample.clj

Source code for the examples:

src-cljs/main.cljs as well as the templates coreasync-1.html and coreasync-2.html

Example 2 has a pure javascript for comparison purposes at js-core-async.js

Acknowledgements

Example 1 is a port of Rob Pike's talk Go Concurrency Patterns and Example 2 was taken from David Nolen's post Communicating Sequential Processes.

License

Copyright © 2013 Leonardo Borges