Skip to content

Consider making client notification a stream #222

Description

@kubinio123

Instead or along side of the current API:

client.onServerNotification:
      case ServerNotification.Progress(params)       => println(s"progress: ${params.progress}")
      case ServerNotification.LoggingMessage(params) => println(s"log: ${params.data}")
      case _                                         => ()

I would like to have a method that returns Stream[ServerNotification] specific to client effect backend.

client.serverNotifications(): Stream[ServerNotification]

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions