Skip to content
This repository has been archived by the owner on Sep 8, 2023. It is now read-only.
Fluidbyte edited this page Oct 2, 2012 · 2 revisions

Summary:

The poller system runs a continual (interval) check of the system. It can be used to check authentication, file interaction, etc

Methods:

init

poller.init()

Starts the poller interval and calls any startup functions

check_auth

poller.check_auth()

Checks to ensure user session exists (and as a keep-alive). Also checks to ensure the user account has not been deleted from the system.

save_drafts

poller.save_drafts()

Runs on interval to save draft of edits to local storage, allowing for recovery should browser crash or session timeout