Skip to content

Conversation

@jfet97
Copy link
Contributor

@jfet97 jfet97 commented Sep 2, 2025

No description provided.

* )
* ```
*/
const withCombinator = dual<
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

would be neat if it would support the ...args, similar to Effect.fn/fnUntraced

Effect.map(([f]) => f),
Effect.provideService(MyTag, { mytag: "inner" }),
),
),
Copy link
Member

@patroza patroza Sep 12, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

flow would feel cleaner, though Effect.fn/fnUntraced would be even better:

 Cmd.withCombinator(
    Effect.map(([f]) => f),
    Effect.provideService(MyTag, { mytag: "inner" }),
  )

really like .pipe(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants