Skip to content

How to turn a stream into a signal? #67

Description

@GDX64

I want to use the MutableVec to calculate, lets say, the sum of a Vector whenever something changes, to do that It seems one way would be to turn the MutableVec into a stream and them use the scan operator on it, but after that I don't want to be notified of every sum change whitout losses, I want it to behave like a signal again and get the changes only when it is polled. It would be kind of turning the stream result into a signal again. What would be the right way of doing it?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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