Skip to content

Commit ef69f2e

Browse files
committed
Remove redundant "async" functions
1 parent 4bd518c commit ef69f2e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

09-behavioral-design-patterns/13-middleware-zmq/zlibMiddleware.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ const deflateRawAsync = promisify(deflateRaw)
66

77
export const zlibMiddleware = function () {
88
return {
9-
async inbound (message) {
9+
inbound (message) {
1010
return inflateRawAsync(Buffer.from(message))
1111
},
12-
async outbound (message) {
12+
outbound (message) {
1313
return deflateRawAsync(message)
1414
}
1515
}

0 commit comments

Comments
 (0)