RACStream+Private.h 627 B

1234567891011121314151617181920212223
  1. //
  2. // RACStream+Private.h
  3. // ReactiveObjC
  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. + (__kindof RACStream *)join:(id<NSFastEnumeration>)streams block:(RACStream * (^)(id, id))block;
  19. @end