Skip to content

[FeatureRequest] Add overload with cancellation token to the Listen() method #44

Description

@ig-sinicyn

Motivation:
We start Gofer task client from .net core hosted service.
We use the BackgroundService.ExecuteAsync() method that expects that underlying code will exit on cancellation. We've imitate cancellation support with

cancellation.Register(()=>taskClient.CancelListen())

but I think it will be good to have such feature out of the box.

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