---
agentTools:
  projectIndex: https://docs.rainway.com/llms.txt
---

# Web SDK - InboundStream.close()

[Home](https://docs.rainway.com/reference/about) > [@rainway/web](web-sdk) > [InboundStream](./web-sdk-inboundstream) > [close](./web-sdk-inboundstream-close)

## InboundStream.close() method

Stop consuming the stream. The container is cleared. This also sends a message to the remote end indicating that we are no longer interested in this stream.

<b>Signature:</b>

```typescript
close(): void;
```

<b>Returns:</b>

void