Skip to content

Commit

Permalink
fix(deliverCargo): Cancel gRPC call when done to force server call cl…
Browse files Browse the repository at this point in the history
…osure (#242)

Works around grpc/grpc-node#1238 (comment)

Needed to make functional tests in relaycorp/awala-gateway-internet#591 pass. [skip ci] ef3a34e
  • Loading branch information
kodiakhq[bot] committed Aug 18, 2021
1 parent 07977b7 commit 2254808
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
8 changes: 4 additions & 4 deletions classes/cogrpcclient.html
Original file line number Diff line number Diff line change
Expand Up @@ -2783,7 +2783,7 @@ <h3>close</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/relaycorp/relaynet-cogrpc-js/blob/d630b40/src/lib/client.ts#L68">src/lib/client.ts:68</a></li>
<li>Defined in <a href="https://github.com/relaycorp/relaynet-cogrpc-js/blob/ef3a34e/src/lib/client.ts#L68">src/lib/client.ts:68</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand All @@ -2805,7 +2805,7 @@ <h3>collect<wbr>Cargo</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/relaycorp/relaynet-cogrpc-js/blob/d630b40/src/lib/client.ts#L148">src/lib/client.ts:148</a></li>
<li>Defined in <a href="https://github.com/relaycorp/relaynet-cogrpc-js/blob/ef3a34e/src/lib/client.ts#L151">src/lib/client.ts:151</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -2835,7 +2835,7 @@ <h3>deliver<wbr>Cargo</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/relaycorp/relaynet-cogrpc-js/blob/d630b40/src/lib/client.ts#L77">src/lib/client.ts:77</a></li>
<li>Defined in <a href="https://github.com/relaycorp/relaynet-cogrpc-js/blob/ef3a34e/src/lib/client.ts#L77">src/lib/client.ts:77</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down Expand Up @@ -2865,7 +2865,7 @@ <h3><span class="tsd-flag ts-flagStatic">Static</span> init</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/relaycorp/relaynet-cogrpc-js/blob/d630b40/src/lib/client.ts#L47">src/lib/client.ts:47</a></li>
<li>Defined in <a href="https://github.com/relaycorp/relaynet-cogrpc-js/blob/ef3a34e/src/lib/client.ts#L47">src/lib/client.ts:47</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2848,7 +2848,7 @@ <h3><span class="tsd-flag ts-flagConst">Const</span> Cargo<wbr>Relay<wbr>Service
<div class="tsd-signature tsd-kind-icon">Cargo<wbr>Relay<wbr>Service<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">ServiceDefinition</span><span class="tsd-signature-symbol">&lt;</span><a href="interfaces/cargorelayservermethodset.html" class="tsd-signature-type" data-tsd-kind="Interface">CargoRelayServerMethodSet</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol"> = ...</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/relaycorp/relaynet-cogrpc-js/blob/d630b40/src/lib/grpcService.ts#L52">src/lib/grpcService.ts:52</a></li>
<li>Defined in <a href="https://github.com/relaycorp/relaynet-cogrpc-js/blob/ef3a34e/src/lib/grpcService.ts#L52">src/lib/grpcService.ts:52</a></li>
</ul>
</aside>
</section>
Expand Down
4 changes: 2 additions & 2 deletions interfaces/cargodelivery.html
Original file line number Diff line number Diff line change
Expand Up @@ -2764,7 +2764,7 @@ <h3><span class="tsd-flag ts-flagReadonly">Readonly</span> cargo</h3>
<div class="tsd-signature tsd-kind-icon">cargo<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Buffer</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/relaycorp/relaynet-cogrpc-js/blob/d630b40/src/lib/grpcService.ts#L19">src/lib/grpcService.ts:19</a></li>
<li>Defined in <a href="https://github.com/relaycorp/relaynet-cogrpc-js/blob/ef3a34e/src/lib/grpcService.ts#L19">src/lib/grpcService.ts:19</a></li>
</ul>
</aside>
</section>
Expand All @@ -2774,7 +2774,7 @@ <h3><span class="tsd-flag ts-flagReadonly">Readonly</span> id</h3>
<div class="tsd-signature tsd-kind-icon">id<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/relaycorp/relaynet-cogrpc-js/blob/d630b40/src/lib/grpcService.ts#L18">src/lib/grpcService.ts:18</a></li>
<li>Defined in <a href="https://github.com/relaycorp/relaynet-cogrpc-js/blob/ef3a34e/src/lib/grpcService.ts#L18">src/lib/grpcService.ts:18</a></li>
</ul>
</aside>
</section>
Expand Down
2 changes: 1 addition & 1 deletion interfaces/cargodeliveryack.html
Original file line number Diff line number Diff line change
Expand Up @@ -2760,7 +2760,7 @@ <h3><span class="tsd-flag ts-flagReadonly">Readonly</span> id</h3>
<div class="tsd-signature tsd-kind-icon">id<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/relaycorp/relaynet-cogrpc-js/blob/d630b40/src/lib/grpcService.ts#L23">src/lib/grpcService.ts:23</a></li>
<li>Defined in <a href="https://github.com/relaycorp/relaynet-cogrpc-js/blob/ef3a34e/src/lib/grpcService.ts#L23">src/lib/grpcService.ts:23</a></li>
</ul>
</aside>
</section>
Expand Down
4 changes: 2 additions & 2 deletions interfaces/cargorelayservermethodset.html
Original file line number Diff line number Diff line change
Expand Up @@ -2764,7 +2764,7 @@ <h3><span class="tsd-flag ts-flagReadonly">Readonly</span> collect<wbr>Cargo</h3
<div class="tsd-signature tsd-kind-icon">collect<wbr>Cargo<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">CargoRelayServerMethod</span><span class="tsd-signature-symbol">&lt;</span><a href="cargodeliveryack.html" class="tsd-signature-type" data-tsd-kind="Interface">CargoDeliveryAck</a><span class="tsd-signature-symbol">, </span><a href="cargodelivery.html" class="tsd-signature-type" data-tsd-kind="Interface">CargoDelivery</a><span class="tsd-signature-symbol">&gt;</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/relaycorp/relaynet-cogrpc-js/blob/d630b40/src/lib/grpcService.ts#L46">src/lib/grpcService.ts:46</a></li>
<li>Defined in <a href="https://github.com/relaycorp/relaynet-cogrpc-js/blob/ef3a34e/src/lib/grpcService.ts#L46">src/lib/grpcService.ts:46</a></li>
</ul>
</aside>
</section>
Expand All @@ -2774,7 +2774,7 @@ <h3><span class="tsd-flag ts-flagReadonly">Readonly</span> deliver<wbr>Cargo</h3
<div class="tsd-signature tsd-kind-icon">deliver<wbr>Cargo<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">CargoRelayServerMethod</span><span class="tsd-signature-symbol">&lt;</span><a href="cargodelivery.html" class="tsd-signature-type" data-tsd-kind="Interface">CargoDelivery</a><span class="tsd-signature-symbol">, </span><a href="cargodeliveryack.html" class="tsd-signature-type" data-tsd-kind="Interface">CargoDeliveryAck</a><span class="tsd-signature-symbol">&gt;</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/relaycorp/relaynet-cogrpc-js/blob/d630b40/src/lib/grpcService.ts#L47">src/lib/grpcService.ts:47</a></li>
<li>Defined in <a href="https://github.com/relaycorp/relaynet-cogrpc-js/blob/ef3a34e/src/lib/grpcService.ts#L47">src/lib/grpcService.ts:47</a></li>
</ul>
</aside>
</section>
Expand Down
2 changes: 1 addition & 1 deletion modules.html
Original file line number Diff line number Diff line change
Expand Up @@ -2847,7 +2847,7 @@ <h3><span class="tsd-flag ts-flagConst">Const</span> Cargo<wbr>Relay<wbr>Service
<div class="tsd-signature tsd-kind-icon">Cargo<wbr>Relay<wbr>Service<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">ServiceDefinition</span><span class="tsd-signature-symbol">&lt;</span><a href="interfaces/cargorelayservermethodset.html" class="tsd-signature-type" data-tsd-kind="Interface">CargoRelayServerMethodSet</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol"> = ...</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/relaycorp/relaynet-cogrpc-js/blob/d630b40/src/lib/grpcService.ts#L52">src/lib/grpcService.ts:52</a></li>
<li>Defined in <a href="https://github.com/relaycorp/relaynet-cogrpc-js/blob/ef3a34e/src/lib/grpcService.ts#L52">src/lib/grpcService.ts:52</a></li>
</ul>
</aside>
</section>
Expand Down

0 comments on commit 2254808

Please sign in to comment.