Changeset 34465 in project


Ignore:
Timestamp:
08/31/17 11:10:23 (3 weeks ago)
Author:
svnwiki
Message:

Anonymous wiki edit for IP [213.52.73.118]:

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/eggref/4/gochan

    r34432 r34465  
     1
    12== chicken-gochan
    23[[toc:]]
     
    121122</enscript>
    122123
    123 This is short for {{(gochan-select ((chan <- msg)))}}.
     124This is short for {{(gochan-select ((chan <- msg fail) (values  #f fail #t)))}}.
    124125
    125126<procedure> (gochan-recv chan)</procedure>
    126127
    127 This is short for {{(gochan-select ((chan -> msg) msg))}}.
     128This is short for {{(gochan-select ((chan -> msg fail) (values msg fail #t)))}}.
    128129
    129130<procedure> (gochan-close chan [fail-flag])</procedure>
     
    190191* Support customizing buffering behaviour, like [[https://github.com/clojure/core.async|core.async]]'s [[http://clojure.github.io/core.async/#clojure.core.async/dropping-buffer|{{dropping-buffer}}]] and [[http://clojure.github.io/core.async/#clojure.core.async/sliding-buffer|{{sliding-buffer}}]] (harder!)
    191192* Add a priority option to {{gochan-select*}}?
     193* Support cancelling timers
    192194
Note: See TracChangeset for help on using the changeset viewer.