Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for yielding (0.05 sec)

  1. doc/go_spec.html

    The expression blocks until a value is available.
    Receiving from a <code>nil</code> channel blocks forever.
    A receive operation on a <a href="#Close">closed</a> channel can always proceed
    immediately, yielding the element type's <a href="#The_zero_value">zero value</a>
    after any previously sent values have been received.
    </p>
    
    <pre>
    v1 := &lt;-ch
    v2 = &lt;-ch
    f(&lt;-ch)
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Oct 02 00:58:01 UTC 2024
    - 282.5K bytes
    - Viewed (0)
Back to top