human
I wrote the below code

    async_unsub = run_callback_threadsafe(hass.loop, async_dispatcher_connect, hass, signal, target).result()
    def remove_dispatcher():
        'Remove    signal    listener.'
        run_callback_threadsafe(hass.loop, async_unsub).result()
    return remove_dispatcher

What's a good function header?
assistant
#Here's a good function header.

def dispatcher_connect(hass, signal, target):