Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove IO.Defer #355

Open
simerplaha opened this issue Jan 2, 2022 · 0 comments
Open

Remove IO.Defer #355

simerplaha opened this issue Jan 2, 2022 · 0 comments

Comments

@simerplaha
Copy link
Owner

simerplaha commented Jan 2, 2022

Overview

Currently IO.Defer instance is created to execute each request to support all effect types/libraries such as Try, Future, ZIO, Cats-effect, Glass etc.

Issue

IO.Defer is a heap allocation that should be removed.

Task

Replace class IO.Defer which an explicit object BagExecutor that is injected at compile time which provides the implementation on how the request should be executed based on the type of the Bag that can be either Asynchronous/Non-blocking or Synchronous/Blocking

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

No branches or pull requests

1 participant