---
title: fanout
summary: Creates a Response that instructs Fastly to pass the original request through Fanout to the declared backend.
url: https://www.fastly.com/documentation/reference/compute/sdks/javascript/js-compute/fanout/
---

**Kind:** Module  
**Package:** @fastly/js-compute 4.0.1  
**Path:** `fanout`

Creates a [Response](https://www.fastly.com/documentation/reference/compute/sdks/javascript/js-compute/globals/interface.Response/) that instructs Fastly to pass the original
request through [Fanout](https://www.fastly.com/documentation/guides/concepts/real-time-messaging/fanout/)
to the declared backend.

## Functions

| Name | Summary |
| --- | --- |
| [createFanoutHandoff](https://www.fastly.com/documentation/reference/compute/sdks/javascript/js-compute/fanout/fn.createFanoutHandoff/) | Creates a [Response](https://www.fastly.com/documentation/reference/compute/sdks/javascript/js-compute/globals/interface.Response/) that instructs Fastly to pass the original request through [Fanout](https://www.fastly.com/documentation/guides/concepts/real-time-messaging/fanout/) to the declared backend. |
