Skip to content

sarahkevinking/timesync

Repository files navigation

flowhamster:timesync

A lightweight plugin to synchronize time on the server and client.

Installation

meteor add flowhamster:timesync

How it works

We define a pseudo-collection on the client timesync. The server defines an anonymous publication on timesync that triggers the changed observable an a 10 millisecond interval. When the publication stops the interval is cleared.

API

Timesync.time() returns the last received server time.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published