Skip to content

Add a stream PurchaseTicket grpc call. #2296

@amass01

Description

@amass01

Currently the PurchaseTicket grpc returns one response when it's done. Because of this limitation the ticket purchase
UX in decrediton is not smooth as users don't get any feedback during the process. See decred/decrediton#3926.

We would like to add a stream grpc call, which will allow us return various statuses during the process and would make the call cancellable.

@alexlyp @jrick Any idea which statuses would be helpful here, I will inspect the current func flow and see at which
stages it would make sense to return an update to the consumer.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions