Model.all()
model.all().whenChanged()
all.whenChanged should retrieve data from findAll
whenChanged should return an unsubscribe function
model.all().updates is a stream that serves as the source for whenChanged
all() should accept a { poll } option that drives when updates are attempted
all().updates is driven by an interval by default
whenChanged should skip duplicates
helper for making sure done gets passed errors when asserting in an async block
failing implementation of skipDuplicates
better assert for all().updates output
all() needs equals() for collections to do skipduplicates
collection.equals returns true when given the same collection
collection.equals needs .toJson
model instances have .asJson as an accessor for the plain data
collection.toJson()
collection.equals(other) using toJson()
skip duplicates works now
0.3.0