Skip to content

Ability to supply this value for Effect.fn #5923

@tmcw

Description

@tmcw

What is the problem this feature would solve?

The Effect.gen method lets you provide a custom this value: https://effect.website/docs/getting-started/using-generators/#passing-this

But as far as I can tell, Effect.fn does not.

What is the feature you are proposing to solve the problem?

Effect.fn accepting a this value, like Effect.gen does

What alternatives have you considered?

You can bind the generator, but that's a kludge.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions