Skip to content

Commit

Permalink
run bin2ts
Browse files Browse the repository at this point in the history
  • Loading branch information
lukealvoeiro committed Feb 2, 2024
1 parent d86f41d commit dbc1266
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions integration/before-after-request-streaming/example.ts
Original file line number Diff line number Diff line change
Expand Up @@ -791,10 +791,11 @@ export class DashStateClientImpl implements DashState {

ChangeUserSettingsStream(request: Observable<DashUserSettingsState>): Observable<DashUserSettingsState> {
const data = request.pipe(map((request) => {
DashUserSettingsState.encode(request).finish();
const encodedRequest = DashUserSettingsState.encode(request).finish();
if (this.rpc.beforeRequest) {
this.rpc.beforeRequest(this.service, "ChangeUserSettingsStream", request);
this.rpc.beforeRequest(this.service, "ChangeUserSettingsStream", encodedRequest);
}
return encodedRequest;
}));
const result = this.rpc.bidirectionalStreamingRequest(this.service, "ChangeUserSettingsStream", data);
return result.pipe(map((data) => {
Expand Down

0 comments on commit dbc1266

Please sign in to comment.