Skip to content
Async slides and code from my Codemash 2014 session on async programming in node
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
async
bluebird
fibers
gen-run
raw
raw_clean
rx
slides
.DS_Store
.gitignore
README.md
package.json

README.md

codemash-async

Async slides and code from my Codemash 2014 session on async programming in node

What's in the box

Installing Splunk

To run the samples as is requires having a Splunk instance. Installing is easy and free. Go download Splunk from [here] (http://www.splunk.com/download?r=header)

You can find out how to install [here] (http://docs.splunk.com/Documentation/Splunk/latest/Installation/Whatsinthismanual)

Once Splunk installed, start your instance. You can by going to your $SPLUNK_HOME/bin folder and running "./splunk start". Splunk just needs to be running for the sample code. You do not have to add any data.

Running the samples

  1. Clone this repo
  2. Go into the root of the repo on disk and run npm install to install all the dependencies. To run the fibers example, you need to have fibers installed which is a native node module.
  3. To run the generators example:
  • Requires using a node version >= 11.0 as it supports haromny proxies and generators.
  • I recommend using a node version manager like [nvm] (https://npmjs.org/package/nvm) or [nodist] (https://npmjs.org/package/nodist) to allow multiple versions side-by-side as you only want to use the 11.x version for running the generator sample.
  • To run the sample pass the --harmony command i.e. `node --harmony search_gen-run.js'

License

Apache 2.0

You can’t perform that action at this time.