Skip to content

stream.stop does not work immediately after subscribe in dapr #707

@Erchoc

Description

@Erchoc

After subscribe, a gRPC connection is created, but the streamId is only initialized after the Emitter event is triggered. This process takes some time. Calling stream.stop before the streamId is ready causes it to return silently without stopping or throwing an error.

Relevant code: src/implementation/Client/GRPCClient/configuration.ts:118

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