@asyncio.coroutine<EOL>def clock(rpc):
while True:<EOL><INDENT>yield from rpc.notify('<STR_LIT>', str(datetime.datetime.now()))<EOL>yield from asyncio.sleep(<NUM_LIT:1>)<EOL><DEDENT>
This task runs forever and notifies all clients subscribed to
'clock' once a second.