Skip to content

Suggestion: create interpretTDLib funcion #2

Description

@BananchickPasha

Right now, it's impossible to handle updates and run TDLib effect with the same client. It would be better to have some function like:

 interpretTDLib :: Members '[Final IO] r => Client -> Counter -> Locks -> Ans -> Sem (TDLib ': r) a -> Sem r a

Also, it would me much simpler just to have

 GetUpdates :: TDLib m [Update]

constructor in TDLib effect.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions