@rbxts/synced-poller
TypeScript icon, indicating that this package has built-in type declarations

2.0.1 • Public • Published

Synced poller

Calls functions on an interval along os.time (for cross-server simultaneous calls)

Calls a function every interval seconds, whenever (os.time() % interval == 0). Functions are called along os.time() (with tick() precision).

If a condition is provided, it will call the callback on each poll, and cancel if it returns false.

Dependencies (0)

    Dev Dependencies (2)

    Package Sidebar

    Install

    npm i @rbxts/synced-poller

    Weekly Downloads

    0

    Version

    2.0.1

    License

    ISC

    Unpacked Size

    3.32 kB

    Total Files

    4

    Last publish

    Collaborators

    • validark