RACStream+Private.h 620 B

123456789101112131415161718192021222324
  1. //
  2. // RACStream+Private.h
  3. // ReactiveCocoa
  4. //
  5. // Created by Justin Spahr-Summers on 2013-07-22.
  6. // Copyright (c) 2013 GitHub, Inc. All rights reserved.
  7. //
  8. #import "RACStream.h"
  9. @interface RACStream ()
  10. // Combines a list of streams using the logic of the given block.
  11. //
  12. // streams - The streams to combine.
  13. // block - An operator that combines two streams and returns a new one. The
  14. // returned stream should contain 2-tuples of the streams' combined
  15. // values.
  16. //
  17. // Returns a combined stream.
  18. + (instancetype)join:(id<NSFastEnumeration>)streams block:(RACStream * (^)(id, id))block;
  19. @end