Skip to content

Commit

Permalink
correct async write
Browse files Browse the repository at this point in the history
Signed-off-by: Gareth Hancock <[email protected]>
  • Loading branch information
GazHank committed Jun 27, 2023
1 parent 76eb345 commit 751d8b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/load-bindings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ export const asyncOpen = binding.open ? promisify(binding.open) : async () => {
export const asyncSet = binding.set ? promisify(binding.set) : async () => { throw new Error('"binding.set" Method not implemented')}
export const asyncUpdate = binding.update ? promisify(binding.update) : async () => { throw new Error('"binding.update" Method not implemented')}
export const asyncRead = binding.read ? promisify(binding.read) : async () => { throw new Error('"binding.read" Method not implemented')}
export const asyncWrite = binding.read ? promisify(binding.write) : async () => { throw new Error('"binding.write" Method not implemented')}
export const asyncWrite = binding.write ? promisify(binding.write) : async () => { throw new Error('"binding.write" Method not implemented')}

0 comments on commit 751d8b5

Please sign in to comment.