CollectionType
protocol CollectionType : Indexable, SequenceType
-
Declaration
Swift
public func stream( queue: DispatchQueue = Dispatch.globalQueue ) -> Stream<Self.Generator.Element>
Parameters
queue
A dispatch queue to call stream handlers on. If this is concurrent, the stream will be concurrent.
Return Value
a
Stream
whose elements are the elements of this collection