Skip to content
This repository has been archived by the owner on Mar 6, 2024. It is now read-only.

Help with error handling #11

Open
rafalkrupinski opened this issue Oct 16, 2023 · 0 comments
Open

Help with error handling #11

rafalkrupinski opened this issue Oct 16, 2023 · 0 comments

Comments

@rafalkrupinski
Copy link

Haven's seen any docs, examples or tests related to error handling.

There's .errors operator that should return the error stream.

I tried to use it like this (test case):

def test_error():
    evt = Event()

    def err():
        raise ValueError()

    errors = evt.map(err, ordered=False).errors()

    evt()

    errors.run()

but it just waits indefinitely.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant