Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Method: IEnumerator<T> GetEnumerator()

  • Declared in: RT.KitchenSink.Channel<T>
  • Implements: IEnumerable<T>.GetEnumerator()

Declaration

public IEnumerator<T> GetEnumerator()

Summary

Returns an enumerator that allows safe reading from this channel. Multiple threads can call this to iterate over the channel; the items from the channel are spread across those threads.

Remarks

The safest way to use this is with a foreach loop.