core.async

documentation of thread macro should include behavior of nil (closes the channel)

Details

  • Type: Defect Defect
  • Status: Reopened Reopened
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • Labels:
  • Environment:
    0.1.278.0
  • Patch:
    Code

Description

I needed the ability to invoke some code in a thread, and have the channel close if nil was returned.

Digging though the code, I discovered it already does this, but it is no documented in the docstring.

I'll supply a patch shortly.

Activity

Alex Miller made changes -
Field Original Value New Value
Resolution Declined [ 2 ]
Status Open [ 1 ] Closed [ 6 ]
Howard Lewis Ship made changes -
Patch Code [ 10001 ]
Status Closed [ 6 ] Reopened [ 4 ]
Resolution Declined [ 2 ]
Howard Lewis Ship made changes -
Attachment async-70-patch.1.txt [ 13514 ]

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated: