Main1.hx 311 B

12345678910111213141516
  1. typedef Observable<T> = {
  2. function flatten<U>():Stream<U>;
  3. }
  4. typedef Stream<T> = {
  5. function flatten<V>():Stream<V>;
  6. function takeUntilBy<U>(otherObs:Observable<U>):Stream<U>;
  7. }
  8. class Main1 {
  9. public static function main() {
  10. var mouseMoves : Stream<Int> = null;
  11. mouseMoves.takeUntilBy(mouseMoves);
  12. }
  13. }