def kill(coro):
    return KillEvent(coro)


# Convenience function for running socket servers.
Halt the execution of a different `spawn`ed thread.
dataset/ETHPy150Open beetbox/beets/beets/util/bluelet.py/kill