[users at bb.net] one time queries

Greg MacDonald gmacdonald at trionworlds.com
Tue Feb 2 23:06:35 UTC 2016


How do I stop receiving updates to a collection with the dataservice in coffeescript?

I'm computing build estimates and I don't necessarily need them updated after the initial estimate is calculated.

I've got something like:

builds = data.getBuilds(...)

Then I use builds.onNew to calculate the build estimate. How do I stop the updates? Is it enough to set builds to null and let it be garbage collected?

-Greg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.buildbot.net/pipermail/users/attachments/20160202/b4dae39c/attachment.html>


More information about the users mailing list