Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

sketch-module-setinterval-polyfill

sketch-pm6MIT0.1.0

A setInterval polyfill for sketch

sketch, module, setTimeout, polyfill

readme

sketch-module-setInterval-polyfill

A setInterval polyfill for sketch.

Installation

npm i -S sketch-module-setinterval-polyfill

Usage

import {setInterval, clearInterval} from 'sketch-module-setinterval-polyfill'

const interval = setInterval(
  (param) => console.log(param),
  1000,
  'hello world'
)

clearInterval(interval)