Documentation
¶
Index ¶
- func Offer[C constraints.Send[V], V any](ctx context.Context, c C, v V) error
- func OfferSeq[Int constraints.Integer, C constraints.Send[V], V any](ctx context.Context, c C, seq iter.Seq[V]) (Int, error)
- func Poll[C constraints.Receive[V], V any](ctx context.Context, c C) (V, error)
- func PollSeq[C constraints.Receive[V], V any](ctx context.Context, c C) iter.Seq2[V, error]
- func RecvSeq[C constraints.Receive[V], V any](c C) iter.Seq[V]
- func SendSeq[Int constraints.Integer, C constraints.Send[V], V any](c C, seq iter.Seq[V]) Int
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func OfferSeq ¶
func OfferSeq[Int constraints.Integer, C constraints.Send[V], V any](ctx context.Context, c C, seq iter.Seq[V]) (Int, error)
func SendSeq ¶
func SendSeq[Int constraints.Integer, C constraints.Send[V], V any](c C, seq iter.Seq[V]) Int
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.