<< Back to previous view

[ASYNC-8] Add constrained read/write-only ports Created: 15/Jul/13  Updated: 23/Aug/13

Status: Open
Project: core.async
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Defect Priority: Major
Reporter: Brandon Bloom Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None


Proof of concept patch here:


As discussed in IRC, this adds support for read-only and write-only "ports", which are constrained wrappers around channels. Write-only ports allow both put and close operations, were as read-only ports allow only take operations. Unsupported operations throw.

I'm open to suggestions for better names than <port and >port.

Generated at Wed Apr 16 17:12:58 CDT 2014 using JIRA 4.4#649-r158309.