Skip to content

Commit

Permalink
Add documentation to Effect.intoDeferred (#2004)
Browse files Browse the repository at this point in the history
  • Loading branch information
IMax153 authored Jan 29, 2024
1 parent 6bf02c7 commit 22794e0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/brown-experts-design.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"effect": patch
---

add documentation to Effect.intoDeferred
5 changes: 5 additions & 0 deletions packages/effect/src/Effect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3306,6 +3306,11 @@ export const either: <R, E, A>(self: Effect<R, E, A>) => Effect<R, never, Either
export const exit: <R, E, A>(self: Effect<R, E, A>) => Effect<R, never, Exit.Exit<E, A>> = core.exit

/**
* Returns an effect that will succeed or fail the specified `Deferred` based
* upon the result of the effect. Also synchronizes interruption, so if the
* provided effect is interrupted, the specified `Deferred` will be interrupted
* as well.
*
* @since 2.0.0
* @category conversions
*/
Expand Down

0 comments on commit 22794e0

Please sign in to comment.