core.async

Details

Type:
Enhancement

Status:
Closed

Priority:
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?