Skip to content

Commit

Permalink
feat(share): enum RpcMethodType
Browse files Browse the repository at this point in the history
  • Loading branch information
waitingsong committed Nov 4, 2024
1 parent 68a6a11 commit 7b71442
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions packages/share/src/lib/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -142,3 +142,11 @@ export interface RouterInfoLite {

export type MiddlewareResolve = (ctx: Context, next: NextFunction) => Promise<void>


export enum RpcMethodType {
unary = 'unary',
serverStream = 'serverStream',
clientStream = 'clientStream',
bidi = 'bidi',
}

0 comments on commit 7b71442

Please sign in to comment.