Skip to content

Commit

Permalink
docs: update
Browse files Browse the repository at this point in the history
  • Loading branch information
molvqingtai committed Nov 30, 2024
1 parent 19bcf46 commit 14d3718
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ setTimeout(() => timer.stop(), 3000)
```

**Adapter**
SetTimeout is used by default, and custom adapters are supported, such as requestAnimationFrame, cancelIdleCallback, etc...

`setTimeout` is used by default, and custom adapters are supported, such as `requestAnimationFrame`, `cancelIdleCallback`, etc...

```typescript
const timer = new Timer(log, {
Expand Down

0 comments on commit 14d3718

Please sign in to comment.