Skip to content

Interpreting effectful callbacks in effects in the same environment #265

Answered by arybczak
osa1 asked this question in Q&A
Discussion options

You must be logged in to vote

You need to use localUnliftIO with ConcUnlift strategy (Ephemeral with Limited 1 will work).

Have a look at haddock if these for more info. There's also an example of a higher order effect in the introduction section of Effectful.Dispatch.Dynamic.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@osa1
Comment options

@osa1
Comment options

@ocharles
Comment options

@osa1
Comment options

Answer selected by osa1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants