diff options
| author | Akshay Nair <phenax5@gmail.com> | 2023-01-14 18:16:41 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2023-01-14 18:16:41 +0530 |
| commit | e75a5a15912b8f297fe9c9747f574486d6c4e334 (patch) | |
| tree | 603cd3b9fa68e6e0bd700fe66fede80e9ae657c9 /docs/interfaces/exception.Try.md | |
| parent | 78e384c2f32996478edced59c837a348dec77e57 (diff) | |
| download | ts-types-lang-e75a5a15912b8f297fe9c9747f574486d6c4e334.tar.gz ts-types-lang-e75a5a15912b8f297fe9c9747f574486d6c4e334.zip | |
chore: adds some docs
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) |
