core.async

Improve error handling for map< and map>

Details

  • Type: Enhancement Enhancement
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Declined
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None
  • Approval:
    Vetted

Description

How can we deal with error handling better. For example, map< will throw an exception in the taker's thread if the function throws an exception. map> throws an exception on the put!. So this can crash an entire chain of ops. For example a pipe into map> will crash the pipe go to crash if the map function throws an error. We can add try/catch to all of this, but what do we do with the exceptions, and how do we recover?

Activity

Hide
Timothy Baldridge added a comment - - edited

<Comment Removed> I misunderstood. But the original problem still stands.

Show
Timothy Baldridge added a comment - - edited <Comment Removed> I misunderstood. But the original problem still stands.
Hide
Alex Miller added a comment -

Won't fix - these are deprecated and going away.

Show
Alex Miller added a comment - Won't fix - these are deprecated and going away.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: