basicallydan/interfake — pull request #16 by bruce-one (2014-05-07 08:40:52+00:00)
Title: Add a callback argument to Interfake.listen

server.listen is asynchronous, which means that Interfake.listen is asynchronous too.

Hence, I thought it might be worth adding a callback to Interfake.listen to allow users to know that the api is up before continuing.