aboutsummaryrefslogtreecommitdiff
path: root/docs/interfaces/effect.Bind.md
blob: 334bd5fad0f5e67f4ccda87ac683f8b04d001f7f (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
[ts-types-lang](../README.md) / [Modules](../modules.md) / [effect](../modules/effect.md) / Bind

# Interface: Bind<_Eff, _Fn\>

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

Generic interface for declaring effects

**`Example`**

```ts
interface MyEffect extends Effect<string[]> {}
```

## Type parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `_Eff` | extends [`Effect`](effect.Effect.md) | The output generated by the effect (defaults to `unknown`) |
| `_Fn` | extends [`Func`](../modules/effect.md#func) | - |

## Hierarchy

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

  ↳ **`Bind`**