Skip to content

Subscriptions and blocking next() #638

@Niederb

Description

@Niederb

Currently subscriptions are blocking in the sync case. See here:

block_on(self.inner.next()).map(|result| result.map_err(|e| Error::Client(Box::new(e))))
}

Check whether it is possible to "break" this blocking by calling unsubscribe() and if yes also allow the user to use this to cancel calls to next() that are stuck.
See this previous discussion: #635 (comment)

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