Skip to content

Commit

Permalink
stop
Browse files Browse the repository at this point in the history
  • Loading branch information
litstat committed Nov 6, 2024
1 parent 93ccb7e commit 795b6f2
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@ warn()
#### promise
```js
sleep(ms)
stop()
```

#### renderer
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "helpers",
"version": "0.1.3",
"version": "0.1.4",
"description": "shared javascript toolkit",
"type": "module",
"exports": {
Expand Down
5 changes: 5 additions & 0 deletions src/stop.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import noop from 'underscore/modules/noop.js';

export function stop() {
return new Promise(noop);
}

0 comments on commit 795b6f2

Please sign in to comment.