Run an async function once, no matter how many times it's called.
Example
varinit=aonce(function(cb){// Do some initializationresults={};cb(results);});// Later:init(function(results){// do something with results});// Elsewhere:init(function(results){// do something else with results});