Description

Recent links were used recently (based on config). They become stale after some time and then get removed from the list of recent.

Details

Methods


<static> isStillRecent( timestamp )

Description

Determine if some timestamp still qualifies as "recent"

Parameters
Name Type Description
timestamp number

millis since epoch

Returns
  • true if link is still valid
Details

<static> addRecent( url, callback )

Description

Mark some URL as recently used. Will either add or update the link, depending if it already exists as a recently used link.

Parameters
Name Type Description
url string

link URL

callback function

handler for when function is done

Details

<static> getRecent( callback )

Description

Get all recent items; note that this methods returns everything that is "not-stale". It doesn't check if link is pinned or not. That should be done at display time.

Parameters
Name Type Description
callback function

result handler

Details