From 415e493834b2edfd87493dd524d844c403115894 Mon Sep 17 00:00:00 2001 From: Cole Lawrence Date: Sat, 16 Jul 2022 09:47:31 -0400 Subject: [PATCH] doc: Add doc to Ticker.raf --- packages/dataverse/src/Ticker.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/dataverse/src/Ticker.ts b/packages/dataverse/src/Ticker.ts index e857d0b..5bb3de6 100644 --- a/packages/dataverse/src/Ticker.ts +++ b/packages/dataverse/src/Ticker.ts @@ -31,6 +31,7 @@ let rafTicker: undefined | Ticker * external scheduling strategy, e.g. a raf. */ export default class Ticker { + /** Get a shared `requestAnimationFrame` ticker. */ static get raf(): Ticker { if (!rafTicker) { rafTicker = createRafTicker()