aboutsummaryrefslogtreecommitdiff
path: root/docs/interfaces/effect.Seq.md
blob: 6e52a12a2089111cda65d9fa5a9ac6c3371b8229 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
[ts-types-lang](../README.md) / [Modules](../modules.md) / [effect](../modules/effect.md) / Seq

# Interface: Seq<_Effs\>

[effect](../modules/effect.md).Seq

Evaluate a sequence of effects in series and get the list of results

**`Example`**

```ts
type main = Bind<
  Seq<[ Pure<1>, ReadFile<"./foobar.txt">  ]>,
  <t extends [number, string]>() => Print<t>
>
```

## Type parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `_Effs` | extends [`Effect`](effect.Effect.md)[] | List of effects |

## Hierarchy

- [`Effect`](effect.Effect.md)

  ↳ **`Seq`**