diff options
Diffstat (limited to 'docs/interfaces/exception.Try.md')
| -rw-r--r-- | docs/interfaces/exception.Try.md | 36 |
1 files changed, 12 insertions, 24 deletions
diff --git a/docs/interfaces/exception.Try.md b/docs/interfaces/exception.Try.md index fb54ddf..c797208 100644 --- a/docs/interfaces/exception.Try.md +++ b/docs/interfaces/exception.Try.md @@ -4,35 +4,23 @@ [exception](../modules/exception.md).Try +Generic interface for declaring effects + +**`Example`** + +```ts +interface MyEffect extends Effect<string[]> {} +``` + ## Type parameters -| Name | Type | -| :------ | :------ | -| `_E` | extends [`Effect`](effect.Effect.md) | -| `_Catch` | extends [`Func`](../modules/effect.md#func) | +| Name | Type | Description | +| :------ | :------ | :------ | +| `_E` | extends [`Effect`](effect.Effect.md) | The output generated by the effect (defaults to `unknown`) | +| `_Catch` | extends [`Func`](../modules/effect.md#func) | - | ## Hierarchy - [`Effect`](effect.Effect.md) ↳ **`Try`** - -## Table of contents - -### Properties - -- [output](exception.Try.md#output) - -## Properties - -### output - -• **output**: `unknown` - -#### Inherited from - -[Effect](effect.Effect.md).[output](effect.Effect.md#output) - -#### Defined in - -[effect.ts:2](https://github.com/phenax/ts-types-runtime-environment/blob/6c7b4f3/stdlib/effect.ts#L2) |
