Skip to content
This repository has been archived by the owner on Jul 16, 2024. It is now read-only.

add provideLayer #71

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

alex-dixon
Copy link
Contributor

Adds provideLayer for rpc core Router.

@changeset-bot
Copy link

changeset-bot bot commented Jun 25, 2023

⚠️ No Changeset found

Latest commit: f89ccde

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

) =>
Effect.isEffect(handler)
? Effect.provideLayer(handler, layer)
: (input: any) => {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I don’t know if this logic is needed. I ported it from provideServiceEffect.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant