I just opened a stream to listen for transactions. I'd like to know, how to close it, once I get what I am looking for. I can't find the close method in channel, or any of the objects for setting the channel to null, that would close it.
Sample code:
var channel = server.transactions()
.forAccount(address)
.cursor('now')
.stream({ stuff });
Any ideas?