예제 #1
0
            def create():
                def mapper(a, b, c, d, e, f, g, h):
                    return a + b + c + d + e + f + g + h

                return Observable.when(obs[0].and_(obs[1]).and_(obs[2]).and_(
                    obs[3]).and_(obs[4]).and_(obs[5]).and_(obs[6]).and_(
                        obs[7]).then_do(mapper))
예제 #2
0
파일: test_when.py 프로젝트: zmyer/RxPY
            def create():
                def selector(a, b, c, d, e, f, g, h, _i):
                    return a + b + c + d + e + f + g + h + _i

                return Observable.when(obs[0].and_(obs[1]).and_(obs[2]).and_(
                    obs[3]).and_(obs[4]).and_(obs[5]).and_(obs[6]).and_(
                        obs[7]).and_(obs[8]).then_do(selector))
예제 #3
0
파일: test_when.py 프로젝트: zmyer/RxPY
        def create():
            def selector(*args):
                raise Exception(ex)

            return Observable.when(obs[0].and_(obs[1]).and_(obs[2]).and_(
                obs[3]).and_(obs[4]).and_(obs[5]).and_(obs[6]).and_(
                    obs[7]).and_(obs[8]).then_do(selector))
예제 #4
0
파일: test_when.py 프로젝트: ESSL-CQQ/RxPY
 def create():
     def sel1(x, y):
         return x + y
     def sel2(x, z):
         return x * z
     def sel3(y, z):
         return y - z
     return Observable.when(xs.and_(ys).then_do(sel1), xs.and_(zs).then_do(sel2), ys.and_(zs).then_do(sel3))
예제 #5
0
파일: test_when.py 프로젝트: zmyer/RxPY
        def create():
            def sel1(x, y):
                return x + y

            def sel2(x, z):
                return x * z

            def sel3(y, z):
                return y - z

            return Observable.when(
                xs.and_(ys).then_do(sel1),
                xs.and_(zs).then_do(sel2),
                ys.and_(zs).then_do(sel3))
예제 #6
0
파일: test_when.py 프로젝트: ESSL-CQQ/RxPY
 def create():
     def selector(a):
         raise ex
     return Observable.when(xs.then_do(selector))
예제 #7
0
        def create():
            def mapper(a, b, c, d):
                raise Exception(ex)

            return Observable.when(obs[0].and_(obs[1]).and_(obs[2]).and_(
                obs[3]).then_do(mapper))
예제 #8
0
파일: test_when.py 프로젝트: zmyer/RxPY
        def create():
            def selector(a):
                raise ex

            return Observable.when(xs.then_do(selector))
예제 #9
0
파일: test_when.py 프로젝트: zmyer/RxPY
        def create():
            def selector(a, b, c, d, e):
                raise Exception(ex)

            return Observable.when(obs[0].and_(obs[1]).and_(obs[2]).and_(
                obs[3]).and_(obs[4]).then_do(selector))
예제 #10
0
파일: test_when.py 프로젝트: ESSL-CQQ/RxPY
 def create():
     def selector(a, b, c):
         raise ex
     return Observable.when(obs[0].and_(obs[1]).and_(obs[2]).then_do(selector))
예제 #11
0
        def create():
            def mapper(a, b):
                return a + b

            return Observable.when(obs[0].and_(obs[1]).then_do(mapper))
예제 #12
0
        def create():
            def mapper(x, y):
                return x + y

            return Observable.when(xs.and_(ys).then_do(mapper))
예제 #13
0
        def create():
            def mapper(a):
                raise ex

            return Observable.when(xs.then_do(mapper))
예제 #14
0
        def create():
            def mapper(*args):
                raise Exception(ex)

            return Observable.when(obs[0].and_(obs[1]).and_(obs[2]).and_(
                obs[3]).and_(obs[4]).and_(obs[5]).and_(obs[6]).then_do(mapper))
예제 #15
0
            def create():
                def mapper(a, b, c, d, e):
                    return a + b + c + d + e

                return Observable.when(obs[0].and_(obs[1]).and_(obs[2]).and_(
                    obs[3]).and_(obs[4]).then_do(mapper))
예제 #16
0
파일: test_when.py 프로젝트: ESSL-CQQ/RxPY
 def create():
     def selector(a, b):
         return a + b
     return Observable.when(obs[0].and_(obs[1]).then_do(selector))
예제 #17
0
파일: test_when.py 프로젝트: zmyer/RxPY
        def create():
            def selector(a, b, c):
                raise ex

            return Observable.when(obs[0].and_(obs[1]).and_(
                obs[2]).then_do(selector))
예제 #18
0
파일: test_when.py 프로젝트: ESSL-CQQ/RxPY
 def create():
     def selector(a, b, c, d, e):
         raise Exception(ex)
     return Observable.when(obs[0].and_(obs[1]).and_(obs[2]).and_(obs[3]).and_(obs[4]).then_do(selector))
예제 #19
0
파일: test_when.py 프로젝트: zmyer/RxPY
            def create():
                def selector(a, b, c, d, e, f):
                    return a + b + c + d + e + f

                return Observable.when(obs[0].and_(obs[1]).and_(obs[2]).and_(
                    obs[3]).and_(obs[4]).and_(obs[5]).then_do(selector))
예제 #20
0
파일: test_when.py 프로젝트: ESSL-CQQ/RxPY
 def create():
     def selector(a, b, c, d, e, f):
         return a + b + c + d + e + f
     return Observable.when(obs[0].and_(obs[1]).and_(obs[2]).and_(obs[3]).and_(obs[4]).and_(obs[5]).then_do(selector))
예제 #21
0
파일: test_when.py 프로젝트: ESSL-CQQ/RxPY
 def create():
     def selector(a, b, c, d, e, f, g, h, _i):
         return a + b + c + d + e + f + g + h + _i
     return Observable.when(obs[0].and_(obs[1]).and_(obs[2]).and_(obs[3]).and_(obs[4]).and_(obs[5]).and_(obs[6]).and_(obs[7]).and_(obs[8]).then_do(selector))
예제 #22
0
파일: test_when.py 프로젝트: ESSL-CQQ/RxPY
 def create():
     def selector(*args):
         raise Exception(ex)
     return Observable.when(obs[0].and_(obs[1]).and_(obs[2]).and_(obs[3]).and_(obs[4]).and_(obs[5]).and_(obs[6]).and_(obs[7]).and_(obs[8]).then_do(selector))
예제 #23
0
파일: test_when.py 프로젝트: zmyer/RxPY
        def create():
            def selector(x, y):
                return x + y

            return Observable.when(xs.and_(ys).then_do(selector))
예제 #24
0
파일: test_when.py 프로젝트: ESSL-CQQ/RxPY
 def create():
     def selector(x, y):
         return x + y
     return Observable.when(xs.and_(ys).then_do(selector))
예제 #25
0
파일: test_when.py 프로젝트: zmyer/RxPY
        def create():
            def selector(a, b):
                return a + b

            return Observable.when(obs[0].and_(obs[1]).then_do(selector))
예제 #26
0
        def create():
            def mapper(a, b, c):
                raise ex

            return Observable.when(obs[0].and_(obs[1]).and_(
                obs[2]).then_do(mapper))