예제 #1
0
def publisher2(ref):
    msg = ['brave', 'new', 'world', '']
    for s in msg:
        send(ref, s)
예제 #2
0
def publisher2(ref):
    msg = ['brave', 'new', 'world', '']
    for s in msg:
        send(ref, s)
예제 #3
0
def publisher1(ref):
    # an actor sending messages to the consumer
    msg = ['hello', 'world']
    for s in msg:
        send(ref, s)
예제 #4
0
def publisher1(ref):
    # an actor sending messages to the consumer
    msg = ['hello', 'world']
    for s in msg:
        send(ref, s)