An adaptor to convert EventEmitter events into an error-first callback invocations.
Fast in-process message conduit.
Thoughts, really. Names are qualified by
var signal = require'signal'signalon'.bigeasy.paxos.log'console.log level: level message: messagesignalon'.bigeasy.paxos.log.error'console.log level: level message: messagesignalon'.*.*.log'console.log level: level message: message
When you send a message you actually get an array of listeners and send the
message directly. This means you can call the listeners directly. There is no
applying of your arguments. They go directly to the
listener. This makes them all targets for compilation by the JIT compiler.
var signal = require'signal'funtion logInfo messagevar subscribers = signalsubscribers'bigeasy.paxos.log'for var i = 0 I = subscriberslength; i < I i++subscribersi'info' key: 'value'
Signal is meant to be the least commitment for late binding. It is easy on the
subscriber, hard on the publisher. If you're not a fanatic about performance,
then you can use
var signal = require'signal'funtion logInfo messagesignalsubscribers'.bigeasy.paxos.log'emit'info' message
But if you do care, for a high-volume message the performace is going to be much better running through the loop yourself.
There are no error handling conventions as of yet. The naming convention is based on your GitHub name and the project name.
Create a signal object.
Get a branch for the given path