Class: RecentList

RecentList

abstractnew RecentList(args)

Manage a list of recent values

Name Type Description
args Object list arguments
Example
var recent_list = new RecentList({
    ss: ss, // SharedStore object
    name: 'name of value within shared store',
    time_horizon: 60*60*1000, // how recent is "recent" (default: 24 hours)
});

Methods

get(){Array}

get a list of values updated in the past 24 hours

Returns:
Type Description
Array list of values

push(value){jQuery.Promise}

append to a list of recent values

Name Type Description
value Object value to add
Returns:
Type Description
jQuery.Promise promise that succeeds when the change goes through