abstract fun onMessage(item: T): Unit
Handles a new item from the result stream.
item - T: the item appearing in the stream
item