Report question

Question: How to write a node.js function that waits for an event to fire before 'returning'?