Skip to content

Releases: huanguolin/repeat-runner

v1.1.3

07 Jun 09:51
Compare
Choose a tag to compare

fix

Workaround react-native switch background/foreground issue.

v1.1.2

06 Jun 10:00
Compare
Choose a tag to compare

New

Add TypeScript types support.

v1.1.0

31 May 07:07
26111b2
Compare
Choose a tag to compare

new feature: add execFunc property

v1.0-beta.1

30 Jun 02:28
Compare
Choose a tag to compare
v1.0-beta.1 Pre-release
Pre-release

Break change

Add

  1. add setter to RepeatRunner.interval , see API

Remove

  1. can't omit constructor second parameter from v1.0.0+
  2. the return number value or Promise#resolve(number) of execFunction can't change interval anymore.
    now you change it directly via RepeatRunner.interval

v0.4.5

01 Jun 08:47
Compare
Choose a tag to compare

Fix:

  1. update dist file: dist/repeat-runner.js (previous not re-build for new feature)

v0.4.3

09 May 01:16
Compare
Choose a tag to compare

Fix

  1. fix README.md example typo

v0.4.2

08 May 14:48
Compare
Choose a tag to compare

New

  1. update README to introduce RepeatRunner#interval
  2. update README to introduce RepeatRunner#start() & RepeatRunner#stop() will return this

Fix

  1. fix RepeatRunner#start() and RepeatRunner#stop() not return this when it already running or stoped
  2. fix README typo