Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
czy88840616 committed Feb 21, 2021
1 parent ecc66c6 commit 0ffaee4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/grpc/src/comsumer/type/unary-request.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@ export class ClientUnaryRequest<reqType, resType>
this.original_function = original_function;
}

sendMessage(content: reqType, handler?: (call: ClientUnaryCall) => void): Promise<resType> {
sendMessage(
content: reqType,
handler?: (call: ClientUnaryCall) => void
): Promise<resType> {
return new Promise<resType>((resolve, reject) => {
// Deadline is advisable to be set
// It should be a timestamp value in milliseconds
Expand Down

0 comments on commit 0ffaee4

Please sign in to comment.