# asyncPipe | @aa-sdk/core

> Overview of the asyncPipe function from @aa-sdk/core

> For the complete documentation index, see [llms.txt](/docs/llms.txt).

{/* This file is auto-generated by TypeDoc. Do not edit manually. */}

```ts
function asyncPipe<S, O, F>(...fns): (s, o?, f?) => Promise<S>;
```

Defined in: [aa-sdk/core/src/utils/index.ts:12](https://github.com/alchemyplatform/aa-sdk/blob/main/aa-sdk/core/src/utils/index.ts#L12)

Utility function that allows for piping a series of async functions together

## Type Parameters

<table>
  <thead>
    <tr>
      <th align="left">Type Parameter</th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `S`
      </td>
    </tr>

    <tr>
      <td>
        `O`
      </td>
    </tr>

    <tr>
      <td>
        `F`
      </td>
    </tr>

  </tbody>
</table>

## Parameters

<table>
  <thead>
    <tr>
      <th align="left">Parameter</th>
      <th align="left">Type</th>
      <th align="left">Description</th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        ...`fns`
      </td>

      <td>
        (`s`, `o?`, `f?`) => `Promise`\<`S`>\[]
      </td>

      <td>
        functions to pipe
      </td>
    </tr>

  </tbody>
</table>

## Returns

result of the pipe

```ts
(
   s,
   o?,
   f?): Promise<S>;
```

### Parameters

<table>
  <thead>
    <tr>
      <th align="left">Parameter</th>
      <th align="left">Type</th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `s`
      </td>

      <td>
        `S`
      </td>
    </tr>

    <tr>
      <td>
        `o?`
      </td>

      <td>
        `O`
      </td>
    </tr>

    <tr>
      <td>
        `f?`
      </td>

      <td>
        `F`
      </td>
    </tr>

  </tbody>
</table>

### Returns

`Promise`\<`S`>