From d5c3af89ab8076bcf4107859c1ba6b47a7815142 Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Sun, 15 Jan 2023 00:13:04 +0530 Subject: chore: some more documentation --- docs/interfaces/effect.Seq.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'docs/interfaces/effect.Seq.md') diff --git a/docs/interfaces/effect.Seq.md b/docs/interfaces/effect.Seq.md index 3604873..6e52a12 100644 --- a/docs/interfaces/effect.Seq.md +++ b/docs/interfaces/effect.Seq.md @@ -4,19 +4,22 @@ [effect](../modules/effect.md).Seq -Generic interface for declaring effects +Evaluate a sequence of effects in series and get the list of results **`Example`** ```ts -interface MyEffect extends Effect {} +type main = Bind< + Seq<[ Pure<1>, ReadFile<"./foobar.txt"> ]>, + () => Print +> ``` ## Type parameters | Name | Type | Description | | :------ | :------ | :------ | -| `_Effs` | extends [`Effect`](effect.Effect.md)[] | The output generated by the effect (defaults to `unknown`) | +| `_Effs` | extends [`Effect`](effect.Effect.md)[] | List of effects | ## Hierarchy -- cgit v1.3.1