Skip to content

Tagless Final instead of hard-coded futures #398

Open
@nightscape

Description

@nightscape

I've been digging through the code a little and noticed that the direct use and execution of Futures brings some inconveniences with it:

  • An ExecutionContext has to be passed everywhere.
  • You can't use other libraries like Monix to perform the execution.
  • You can't reflect on the execution (e.g. in what sequence is stuff done).
  • Tests always have to await.

I was wondering if you have considered / would consider a Final Tagless encoding instead of direct use of futures?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions