kevinohara80/nforce — pull request #18 by chrishic (2013-05-21 19:00:09+00:00)
Title: Update query() to be either in streaming mode or non-streaming mode

These changes were necessary to enable streaming mode to pull back large amounts of data (>90000 contacts) via calls to getNextUrl. query() is now either in streaming mode or non-streaming mode. When in streaming mode, no callback is used and instead stream events are emitted. When in non-streaming mode, callback is used for control flow.