Skip to content

Commit

Permalink
chore!: remove System.Object[] Promise.withResolvers instead
Browse files Browse the repository at this point in the history
  • Loading branch information
Jack-Works committed Mar 13, 2024
1 parent f77a11e commit 71f479f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 19 deletions.
5 changes: 5 additions & 0 deletions .changeset/cyan-jars-brake.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@masknet/kit": minor
---

remove defer, use Promise.withResolvers instead
18 changes: 0 additions & 18 deletions src/ecmascript/defer.ts

This file was deleted.

1 change: 0 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
export { memoizePromise } from './ecmascript/memoizePromise.js'
export { defer, type DeferTuple } from './ecmascript/defer.js'
export { concatArrayBuffer } from './ecmascript/concatArrayBuffer.js'
export { isArrayBufferEqual } from './ecmascript/isArrayBufferEqual.js'
export { decodeHexString, encodeHexString } from './ecmascript/hex-string.js'
Expand Down

0 comments on commit 71f479f

Please sign in to comment.