Home Reference Source Repository
import PollUpdater from 'rodan-client/js/Updater/PollUpdater.js'
public class | source

PollUpdater

Extends:

AbstractUpdater → PollUpdater

Updater that syncs collections by a timer.

Constructor Summary

Public Constructor
public

constructor(options: options)

Constructor

Inherited Summary

From class AbstractUpdater
public

clear()

Clears registered collections.

public

setCollections(collections: [BaseCollection])

Sets the collections that are to be updated.

public

update()

Updates registered collections.

Public Constructors

public constructor(options: options) source

Constructor

Params:

NameTypeAttributeDescription
options options

options.frequency is the update interval in milliseconds