Added Promises heterogeneous when
Merge pull request #368 from Tetradeus/reactive-streams

Added Promises heterogeneous when