def METHOD_NAME(receiver_spec: Callable[P, None]) -> _SyncSignal[P]:
    """
    Create a synchronous signal with the given function signature for receivers.
    Example:
        s = SyncSignal(lambda event: None)  # all receivers must accept a single "event" argument.
        def receiver(event):
            print(event)
        s.connect(receiver)
        s.send("foo")  # prints foo
        s.send(event="bar")  # prints bar
        def receiver2():
            ...
        s.connect(receiver2)  # mypy complains about receiver2 not having the right signature
        s2 = SyncSignal(lambda: None)  # this signal has no arguments
        s2.send()
    """
    return cast(_SyncSignal[P], _SyncSignal())