diff options
author | Satya Rohith <me@satyarohith.com> | 2024-05-16 17:42:01 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-16 17:42:01 +0530 |
commit | 7893ab9f0bb406081723ce80829d3ad6303da162 (patch) | |
tree | 1ad05bb4fc1c25ffbcc3089259c44f676cb96a7e /cli/lsp/tsc.rs | |
parent | 00e6d41a9d86c3c1a2e8807461bab127e52f0a10 (diff) |
fix(ext/node): fix grpc error_handling example (#23755)
gRPC depends only on the END_STREAM flag to emit "trailers" event which
is responsible to propagate the errors correctly. This patch uses
Body::is_end_stream() to determine if a stream will end and set the
END_STREAM flag.
Co-authored-by: Bartek IwaĆczuk <biwanczuk@gmail.com>
Diffstat (limited to 'cli/lsp/tsc.rs')
0 files changed, 0 insertions, 0 deletions